Create MongoDB attributes
Create MongoDB recipe
Add Python cookbook dependency
Create Python attributes
Create `project name` attribute
Create Python recipe
Install Bottle micro framework (for a simple app)
Create a simple demo app (if there is no app)
Install uWSGI (with pip)
Set uWSGI attributes
Setup uWSGI configuration
Setup Nginx site configuration to run uWSGI
Update uWSGI attributes
Add runit cookbook dependency
Create runit attributes
Install runit through cookbook
Setup a runit service to handle uWSGI
Disable uWSGI's logger, runit handle the logging
Install PyMongo (with pip)
Update uWSGI attributes