Development of the next big iteration of the data sources app according to Police-Data-Accessibility-Project#248
An API and UI for searching, using, and maintaining Data Sources.
Live app deployed from main
Dev app deployed from dev
git clone https://github.com/Police-Data-Accessibility-Project/data-sources-app.git
cd data-sources-app
If you don't already have virtualenv, install the package:
pip install virtualenv
Then run the following command to create a virtual environment:
virtualenv -p python3.11 venv
source venv/bin/activate
pip install -r requirements.txt
pip install "psycopg[binary,pool]"
pre-commit install
# To optionally run the pre-commit against all files (as pre-commit usually only runs on changed files)
pre-commit run --all-files
For more information on setting up environment secrets, see ENV.md
Follow instructions in the /local_database
directory to set up a local database for testing.
python3 app.py
cd client
npm install
npm run dev
If you're here to submit a Pull Request, please review the important information available in CONTRIBUTING.md.