Skip to content
This repository has been archived by the owner on Dec 16, 2017. It is now read-only.

sloria/flask-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Project Template

A simple flask project template with Bootstrap, a full testing suite, Peewee ORM, and Coffeescript support.

Loosely based of this Django project template.

How to use this template

  • Create your virtualenv
  • git clone https://github.com/sloria/flask-template PROJECTNAME
  • Rename the folder to your project name.
  • cd PROJECTNAME
  • pip install -r requirements/dev.txt
  • python run.py

Features:

Class-based views:

ORM:

Testing:

  • nose
  • watchdog
  • Webtest

Deployment:

  • gunicorn

Running tests

  • Run tests using fab test
  • To enter "watch" mode, fab watchmedo

Coffeescript support

  • Run fab coffee
  • Write your Coffeescript in project/static/coffee
  • That's it!

License

Licensed under the MIT license. See the bundled LICENSE file for more details.

About

*ABANDONDED*. Use cookiecutter-flask instead.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published