Bootstrap a Flask project on Ubuntu Trusty, with Puppet, Vagrant and Fabric.
Welcome to my opinionated, lightweight Flask project template.
After installing Vagrant, create and boot the VM inside this directory:
vagrant up
SSH to the VM:
vagrant ssh
Run your app:
fab run
You will have a running app listening on http://localhost:5000/ at this point.
After initial boot, you should:
Freeze the newly-installed pip packages at their versions:
pip freeze > requirements.txt
Set the SECRET_KEY
for each environment in app/config/
.
*nix-flavoured OS.
The following software will be installed and configured automatically:
Licenced under the MIT licence (see LICENCE), so go ahead and fork this!
Originally based on https://gist.github.com/urschrei/2666927.