- Python 3.6+
- VS Code (to make collaboration easier. We don't want to argue over tabs vs spaces!)
- MongoDB Cloud Account: After setting up your free account on MongoDB cloud, you will have a username, password and the database connection string.
-
Clone this repository to your local machine.
-
Change terminal to repository directory and create a new virtual environment using venv:
path/to/python -m venv .venv
-
Activate virtual environment:
Linux/MacOS:source .venv/bin/activate
Windows:.venv/Scripts/activate
-
Install Python dependencies
pip install -r requirements.txt
- Add your MongoDB connection string and user credentials to the
config.yml
file in the repository root directory. - Start the development server using the following commands
python manage.py migrate
python manage.py runserver
- Unable to connect to MongoDB Atlas: Ensure your public IP address is allowed to initiate a connection with the database.