User Tools

Site Tools


This is for admin reference only, the API isn't intended for local installation, and indeed won't function with database credentials!

WIP… development.


sudo apt-get install libpq-dev

pip install virtualenv

Now set up the virtualenv - Reference

mkdir api-env

virtualenv –no-site-packages api-env

cd api-env/bin

source activate

Now we're in the v-env

git clone …

pip install -r requirements.txt

Grab the config.json for database credentials.

Running it..

gunicorn -b -k gevent -w 4 main:app

api_installation.txt · Last modified: 2020/06/27 23:02 (external edit)