wesleytodd / YeoPress

A Yeoman generator for WordPress
Other
1.08k stars 161 forks source link

Build and Deployment Page in Wiki #69

Closed ninjasort closed 9 years ago

ninjasort commented 10 years ago

Would it be possible to add some documentation for the build process and a basic deployment strategy?

wesleytodd commented 10 years ago

Sorry for the long delayed response, busy with work and the holidays. Anyway, I would love to have some documentation on a build and deployment process. The only issue I have right now is that YeoPress does not really have a prescribed deployment process. The way I personally handle this is something like this:

Does that sound like what you mean for a deployment strategy? If you are interested in putting together some good documentation I would love the contribution. I believe you can just edit the wiki if you want. Maybe make a page called Deployment. We could even try to document a few different deployment strategies.

ninjasort commented 10 years ago

Okay, reasonable.

What about some way to build from a Grunt task that would push the minified/optimized project to a staging branch? After it's been tested once more with optimizations, it could merge to a master/production branch.

Here's what I'm referencing: http://nvie.com/posts/a-successful-git-branching-model/

wesleytodd commented 10 years ago

Ahh, I see what you mean. I was thinking more about the basics of deployment. I am not sure YeoPress should be dictating git workflow. Maybe you could look at using https://github.com/nvie/gitflow with grunt? There might be some plugins out there. If you do want to do that, then I would be happy to add support to the gruntfile. But other than that I am not sure what YeoPress can provide in this respect.

ninjasort commented 9 years ago

Thanks for the tips.