-
Make sure that Python 3.8, Git, and PostgreSQL are installed on your machine.
-
Fork a copy of the main repo to your GitHub account.
-
Clone this repository
git clone [email protected]:codeforboston/police-data-trust.git
-
Create a
.env
file in the root of your local project folder, and add your preferred PostgreSQL username and password:
POSTGRES_USER=<YOUR_USERNAME>
POSTGRES_PASSWORD=<YOUR_PASSWORD>
- Login into your local PostgreSQL instance using the preferred user from the previous step using the SQL Shell or the following command:
psql -U postgres
and run the command: CREATE DATABASE police_data;
- Test application by running either the
run_unix.sh
orrun_windows.bat
executable from the root of the application as appropriate for your operating system.