All Projects → dansimau → flask-bootstrap

dansimau / flask-bootstrap

Licence: MIT License
Bootstrap a Flask project on Ubuntu Trusty, with Puppet, Vagrant and Fabric.

Programming Languages

python
139335 projects - #7 most used programming language
Puppet
460 projects

Flask-Bootstrap

Welcome to my opinionated, lightweight Flask project template.

Quick start

  1. After installing Vagrant, create and boot the VM inside this directory:

     vagrant up
    
  2. SSH to the VM:

     vagrant ssh
    
  3. Run your app:

     fab run
    

You will have a running app listening on http://localhost:5000/ at this point.

Notes

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/.

Requirements

*nix-flavoured OS.

What's included

The following software will be installed and configured automatically:

Licence

Licenced under the MIT licence (see LICENCE), so go ahead and fork this!

Credits

Originally based on https://gist.github.com/urschrei/2666927.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].