In the proeject directory first install the packages if you never installed them:
npm i
Next to run the local server, run:
npm run dev
In the backend folder, install all the dependacies with:
pip install -r requirements/dev.txt
Run the application with:
flask run --with-threads
To open the interactive shell, run ::
flask shell
By default, you will have access to the flask app
and models.
To run all tests, run ::
flask test
Whenever a database migration needs to be made. Run the following commands ::
flask db migrate
This will generate a new migration script. Then run ::
flask db upgrade
To apply the migration.
For a full migration command reference, run flask db --help
.