Deploy requirements for a buildout based Pyramid python web application.
Cookbooks:
- git
- mysql
- nginx
- nodejs
- npm
Example Vagrantfile for chef solo provided for launching a Pyramid application.
default[:pyramid][:user]
- system user to create and run website. default ispyramid
default[:pyramid][:group]
- system group to create and apply to website files. default ispyramid
default[:pyramid][:domain]
- domain for nginx configuration. default ispyramid.example.com
default[:pyramid][:port]
- port for pyramid web server. default is6543
default[:pyramid][:appdir]
- location to host pyramid website code. default is/home/pyramid/pyramid.example.com
default[:pyramid][:node_version]
- nodejs version to install into repo. default is1.10.26
Install all dependencies (python, nodejs, nginx, git, mysql) and setup server for application deployment.
Install nodejs + npm as well as front end requirements (grunt, bower, etc.)
Install nginx + git and setup required users and directories.
Author:: Jimmy Hillis ([email protected])