Backend Server for EngageX
This document provides instructions on how to set up the project locally.
- Python 3.x
virtualenv
(for creating virtual environments)
-
Clone the repository to your local machine:
git clone https://github.com/yourusername/your-django-project.git cd your-django-project
-
Create and activate a virtual environment:
virtualenv venv source venv/bin/activate # On Windows: .\venv\Scripts\activate
-
Install project dependencies using pip:
pip install -r requirements.txt
-
Copy the .env.example file and rename it to .env:
cp .env.example .env
-
Create database migration:
python manage.py migrate