gcivil-nyu-org / wed-fall24-team2

3 stars 2 forks source link

NYC Soundscape Explorer

Build Status Coverage Status

Setup

Create virtual environment:

python -m venv env

Activate the environment:

source env/bin/activate

Install packages:

pip install -r requirements.txt

Environment files:

Obtain an API Key from Mapbox. Then create a ".env" file in the root directory of the repo, and paste some contents in like this, but using your own api key:

# this is the ".env" file:
MAPBOX_ACCESS_TOKEN="__________"

Add database configuration to the ".env" file to access your local database:

...

DB_ENGINE='__________'
DB_NAME='__________'
DB_USER='__________'
DB_PASSWORD='__________'

Usage

Run the app

python manage.py runserver