- Python: 3.11.9
- pip: Ensure you have the latest version installed
- virtualenv (optional but recommended)
git clone <your-repo-url>
cd <your-project-folder>
Probably already done thispython -m venv venv
# Activate on Windows
venv\Scripts\activate
# Activate on macOS/Linux
source venv/bin/activatepip install -r requirements.txtpython manage.py migratepython manage.py createsuperuserFollow the prompts to create an admin account.
python manage.py runserverThe server will start at http://127.0.0.1:8000/.
python manage.py test- Ensure
DEBUG=Falsein production. - Configure allowed hosts in
settings.py(ALLOWED_HOSTS).