This project uses Docker and Dev Containers to set up the development environment. Follow the steps below to get started.
- Docker installed on your machine
- Visual Studio Code with the Remote - Containers extension
- Clone the Repository
Clone into your development machine.
- Open in Visual Studio Code
Open the project directory in Visual Studio Code.
- Reopen in Container
Press F1 and select Remote-Containers: Reopen in Container. This will build the Docker container defined in the .devcontainer folder and open the project inside the container.
With the development environment setup:
-
Navigate to the Backend Directory
cd backend
-
Run Migrations
python manage.py migrate
-
Start the Django Development Server
python manage.py runserver
-
Navigate to the Frontend Directory
cd frontend
-
Install Dependencies
npm install
-
Start the React Development Server
npm start