Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.12 KB

INSTALL.md

File metadata and controls

26 lines (23 loc) · 1.12 KB

👩🏼‍💻 🚀 Developer Environment Setup

Prerequisites

  1. Python 3.6+
  2. VS Code (to make collaboration easier. We don't want to argue over tabs vs spaces!)
  3. MongoDB Cloud Account: After setting up your free account on MongoDB cloud, you will have a username, password and the database connection string.

Setup

  1. Clone this repository to your local machine.

  2. Change terminal to repository directory and create a new virtual environment using venv: path/to/python -m venv .venv

  3. Activate virtual environment:
    Linux/MacOS: source .venv/bin/activate
    Windows: .venv/Scripts/activate

  4. Install Python dependencies

pip install -r requirements.txt
  1. Add your MongoDB connection string and user credentials to the config.yml file in the repository root directory.
  2. Start the development server using the following commands
python manage.py migrate
python manage.py runserver

Debugging

  1. Unable to connect to MongoDB Atlas: Ensure your public IP address is allowed to initiate a connection with the database.