- Create a virtual environment:
# On Windows
python -m venv env
env\Scripts\activate
# On macOS/Linux
python3 -m venv env
source env/bin/activate
2 Set up the database:
python manage.py migrate
- Create a superuser (admin) account:
python manage.py createsuperuser
- Run the development server:
python manage.py runserver
- Access the application:
Open your web browser and go to http://localhost:8000/ to access the project.