Find stuff at GMU
The backend is written with Flask, a lightweight Python framework for web services.
To run the backend:
- Create and activate a Python virtual environment (optional)
- Download the dependencies with
pip install -r requirements.txt
in the base directory - Create the development database by running
alembic upgrade head
- Set the
FLASK_APP
environmental variable:
On Mac or Linux:
export FLASK_APP=where.app
In Windows cmd
set FLASK_APP=where.app
In Powershell
$env:FLASK_APP = where.app
- Start the development server with
flask run
.
The frontend is written in Angular, see where-web for more info