To install, clone this repository and run:
pip install -Ur requirements.txt
Note: postgresql is required for psycopg2, even if you're not using it as a backend. (For instructions on how to install homebrew, see here.)
brew install postgresql
Download bower:
npm install -g bower
Bower install all frontend dependencies:
bower install
If the database is broken or nonexistant, run:
sh clean_build.sh
This will delete the database if it exists, make a new one, and start the server.
Alternatively, to build the database, run:
python manage.py makemigrations
python manage.py migrate auth
python manage.py migrate
python manage.py createsuperuser
python manage.py buildtables
If the database is not broken and you just want to start the server, run:
python manage.py runserver
and navigate to http://localhost:8000/swag/ to view a list of API endpoints.