Follow these steps to quickly set up and run the project:
- Clone the repository:
git clone https://github.com/mahfoud-202/django-tutorial.git
- Change directory to the cloned repository:
cd django-tutorial
- Create a virtual environment:
python -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate
- Install Poetry:
python -m pip install poetry
- Install project dependencies:
poetry install --no-root
- Run the project:
poe runserver
- To quit the Django server, press
Ctrl + C
in the terminal where it's running. - Deactivate the virtual environment:
deactivate