- Install the app and its dependencies by running
pip install -e .
in the root folder. - Set the following environment variables:
DATABASE_URL=<DB URL>
FLASK_ENV=development
(options: production, development, test)JWT_SECRET_KEY=<256-BIT SECRET>
GOOGLE_CLIENT_ID=<YOUR ID>
- Initialize the database by running
app initdb
. - Run
app run
to start the API server.
Run python setup.py test
.
The API documentation is available on Apiary. Documentation for branches other than master can be found at scuevals.github.io/scuevals-api/?branch=nameofbranch.