Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (24 loc) · 770 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 770 Bytes

Where

Find stuff at GMU

Get Started

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.

Frontend

The frontend is written in Angular, see where-web for more info