Re: [mezzanine-users] Re: Alternate Fabfile for deploying to VPS
It's a good day to deploy! Thanks a lot Eduardo, your edits to the fabric settings have been quite helpful. On Thursday, March 5, 2015 at 1:28:58 PM UTC-5, Eduardo Rivas wrote: Thanks, Federico. I'm really interested in getting feedback on the deployment process and the new documentation, so please share your experience when ready :) -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Thanks a lot Eduardo! I've struggled a lot with deploying in the past (and I still struggle sometimes). I'll try the new fabfile as soon as it lands in the next release. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Thanks, Federico. I'm really interested in getting feedback on the deployment process and the new documentation, so please share your experience when ready :) -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Yes I would just like to echo that thanks... Kia Ora as we say in NZ (it can be used to say thanks!) G On 05/03/15 13:08, Stephen McDonald wrote: Hi all, I've just merged this in. Please read back through this thread, as well as the previously mentioned PR for full details. Huge thanks to Ed for all the work that went into this, and for working with me through all the feedback. On Tue, Feb 17, 2015 at 12:36 PM, Eduardo Rivas jerivasmel...@gmail.com mailto:jerivasmel...@gmail.com wrote: Ok, PR sent :) https://github.com/stephenmcd/mezzanine/pull/1216 -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com mailto:mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com mailto:mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Hi all, I've just merged this in. Please read back through this thread, as well as the previously mentioned PR for full details. Huge thanks to Ed for all the work that went into this, and for working with me through all the feedback. On Tue, Feb 17, 2015 at 12:36 PM, Eduardo Rivas jerivasmel...@gmail.com wrote: Ok, PR sent :) https://github.com/stephenmcd/mezzanine/pull/1216 -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Thanks to all for your kind words and support through-out, it's one of the reasons that make this community so special. I just want to point out that the PR included a mini-tutorial in the Deployment section of the docs (see here https://github.com/stephenmcd/mezzanine/blob/081dd68c8c53893c28c6c96cca666f6db15317ca/docs/deployment.rst#tutorial), so hopefully it will make it easier for newcomers to deploy Mezzanine sites. I wanted to add a screencast to go along with it, but couldn't find any working screencast programs for my Ubuntu machine :( Maybe later. As for the repo this PR originated from, it's been completely superseded by the new official implementation, so I'll probably take it down or mark it as obsolete. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Ok, PR sent :) https://github.com/stephenmcd/mezzanine/pull/1216 -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Hey Josh, thanks a lot, but I think I'll just build on top of the mercurial code present in the current fabfile. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Sounds good, that's exactly what I did when I changed your Webfaction one and it wasn't difficult at all. Thanks, good luck! On Wed, Feb 11, 2015 at 10:03 AM, Eduardo Rivas jerivasmel...@gmail.com wrote: Hey Josh, thanks a lot, but I think I'll just build on top of the mercurial code present in the current fabfile. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Thanks for working on this Ed! I use Mercurial whenever I can (learned it first because of free private repos at Bitbucket). I updated your Webfaction fabfile to work with Mercurial (took out the git direct push parts and put back the VCS stuff from the original fabfile). Let me know if you'd want to take a look at that. Thanks On Mon, Feb 9, 2015 at 11:57 PM, Stephen McDonald st...@jupo.org wrote: Presumably the whole project directory wouldn't be much bigger than the static directory, so that sounds worth trying at least. On Tue, Feb 10, 2015 at 3:02 PM, Eduardo Rivas jerivasmel...@gmail.com wrote: Gotcha. Well, guess we better support hg for completeness sake (and it'll be useful for me to learn). The rollback task will work as usual for VCS users, but I don't really know what to do in case of rsync. Ideas: - No rollback support if DEPLOY_METHOD = rsync - Gzip the whole project folder (like we do with static files) on every deploy with rsync and have it laying around for rollback. What do you think? -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Gotcha. Well, guess we better support hg for completeness sake (and it'll be useful for me to learn). The rollback task will work as usual for VCS users, but I don't really know what to do in case of rsync. Ideas: * No rollback support if DEPLOY_METHOD = rsync * Gzip the whole project folder (like we do with static files) on every deploy with rsync and have it laying around for rollback. What do you think? -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Hey everybody, quick question: is mercurial support in the fabfile very important? The new fabfile uses direct pushes to the server instead of pulls from external sites, and this is something I've only tested with git, and I was wondering if we can drop mercurial support on the fabfile (considering we can now also deploy via rsync). -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Just wanted to say that I've been using your mezzanine-webfaction fabfile and it's been incredibly helpful! Thanks. On Sunday, February 1, 2015 at 4:48:43 AM UTC+11, Eduardo Rivas wrote: Hello everybody. For the past few months I've been deploying my Mezzanine sites with a modified Fabfile. I've decided to publish it in case anybody wants to try it. This are the key differences with Mezzanine's default Fabfile (from the project README): - Vanilla gunicorn is used instead of the the deprecated gunicorn_django. - You don't need to host your repos in external sites (GitHub, Bitbucket). The contents are transferred directly from your dev machine to the server. - You can upload files to the server via rsync instead of git (in case your project is not under VCS). - You don't need to know which port Gunicorn is going to use, because the connection from Nginx is to a socket file. - Operations using sudo only require you to type the password once. - Invalid requests (hosts other than ALLOWED_HOSTS) are blocked on Nginx level. - Static files are set to expire after 30 days in browser cache (best practice). - Includes a shell script for bootstrapping a VPS from the second you get it. Please check it out, I hope it's useful. Bug reports and PRs are always welcome. https://github.com/jerivas/mezzanine-vps. Steve, if you're interested in some or all of the features described above, I can setup a PR so they can become part of Mezzanine. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] Re: Alternate Fabfile for deploying to VPS
Hey Tomlin, thanks for your kind words, it's great to see the project being helpful. I've made important progress refactoring Mezzanine's default fabfile, I hope it'll be ready soon. I also have plans to make a screencast explaining the deployment of Mezzanine, as it is one of the common stumbling rocks for new comers. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.