Base template for an app that uses Lastuser, Baseframe and Coaster with Flask and SQLAlchemy. Supports Python 3+ only.
- Clone this repository into your development environment.
- Create a Python 3 virtualenv and activate it.
- Install requirements:
pip install -r requirements.txt
pip install -r test_requirements.txt
pip install -r dev_requirements.txt
- Run
pre-commit install
- Customise the repo by finding and replacing all mentions of
hgapp
with your desired name. - Run
python manage.py db init
to create a template for database migrations.
This boilerplate uses Compass for custom stylesheets. Stylesheets are located in hgapp/static/sass
and may be rebuilt with compass compile
. To rebuild automatically, use compass watch
.