This Django application helps you build a neighborhood watch platform.
These instructions will help you set up the project on your local machine for development and testing purposes.
- Docker
- Docker Compose
- Clone the repository
git clone https://github.com/The-Neighborhood-Watch/nbhw-backend
- Change directory to the project root
cd nbhw-backend
- Create a
.env
file in the project root and add the following environment variables
DATABASE_URL=sqlite:///db.sqlite3
DEBUG=True
- Build the Docker image
docker-compose build
- Run the Docker container
docker-compose up
To run the tests, run the following command
docker-compose run tests