Create a Vagrant setup that runs a default
Mezzanine site. Running vagrant up should bring
up a fully configured machine, running a empty Mezzanine project. The machine
should run Apache + mod_wsgi or Ngnix + Gunicorn. Use sqlite as the
database.
- Fork the repo on GitHub.
- Add a
Vagrantfileto the repo, that brings up a machine with this image, and the hostnamesanoma.local. Make sure Vagrant provisions the machine using Puppet. - Add a
deploydirectory to the repo. Add the nessecary files to this directory, so that provisioning does at least the following things:- Creates an user called
sanomawith the passworddevops. - Installs the source code using
pip. - Creates a Mezzanine project in the home directory of the
sanomauser. (See the quick-start at http://mezzanine.jupo.org/) - Overrides the
local_settings.pyfile in the Mezzanine project with sensible settings. - Installs and configures Apache + mod_wsgi or Ngnix + Gunicorn.
- Creates an user called
- Commit and push your changes back to your fork on GitHub.
- To install Mezzanine using pip, add the EPEL repo to your Yum configuration.
- You will probably need the
python-develYum package.