API for the atmfinda app
pip install -r requirements.txt
Create the Postgres database and enable the postgis extension, the default database in the config file is atmfinda
, create it and then connect with psql
psql -c atmfinda
# CREATE EXTENSION postgis;
Make sure you're in the same directory as app.py
export FLASK_APP=app.py
export FLASK_DEBUG=1
flask run
Make sure you're in the same directory where tests.py
is located i.e The Root directory
python tests.py