Pre-requisites:
- python 3.7+
- stylus (install
node.js
,npm
and runnpm install stylus
) - wsgi-capable web-server, e. g.
gunicorn
- install dependencies by running
pip install -r requirements.txt
in application's root folder.
Run the following command in application's root folder:
py.test
Run following commands in project's root folder:
flask assets build
flask db upgrade
flask gen all
to create data storage and fill it with test data sets.
Start web-server passing application instance to it, e. g.:
gunicorn clasfw.app:create_app