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.

Reply via email to