Skip to content

sanoma-technology/devops-challenge

 
 

Repository files navigation

Sanoma Devops Challenge

Goal

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.

Tasks

  • Fork the repo on GitHub.
  • Add a Vagrantfile to the repo, that brings up a machine with this image, and the hostname sanoma.local. Make sure Vagrant provisions the machine using Puppet.
  • Add a deploy directory to the repo. Add the nessecary files to this directory, so that provisioning does at least the following things:
    • Creates an user called sanoma with the password devops.
    • Installs the source code using pip.
    • Creates a Mezzanine project in the home directory of the sanoma user. (See the quick-start at http://mezzanine.jupo.org/)
    • Overrides the local_settings.py file in the Mezzanine project with sensible settings.
    • Installs and configures Apache + mod_wsgi or Ngnix + Gunicorn.
  • Commit and push your changes back to your fork on GitHub.

Hints

  • To install Mezzanine using pip, add the EPEL repo to your Yum configuration.
  • You will probably need the python-devel Yum package.

About

A content management platform built using the Django framework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 71.9%
  • JavaScript 15.4%
  • CSS 6.7%
  • HTML 5.9%
  • Other 0.1%