Skip to content

343829084/flask-bootstrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Bootstrap a Flask project on Ubuntu Trusty, with Puppet, Vagrant and Fabric.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 37.5%
  • Puppet 31.5%
  • Smarty 19.1%
  • HTML 8.8%
  • Shell 2.4%
  • Mako 0.7%