Make sure you have the following installed on your local machine:
- Python (preferably Python 3.x)
- pip (Python package manager)
- virtualenv (for creating virtual environments)
- Git (to clone the repository)
It’s a good practice to use a virtual environment to isolate your project dependencies. Run the following commands:
python -m venv venv
- MacOS\Linux
source venv/bin/activate
- Windows
venv\Scripts\activate
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver