This README provides instructions on setting up and running your Django Todo app locally.
Prerequisites:
- Python 3 (Download from https://www.python.org/downloads/)
- pip (Installed with Python 3)
Installation:
-
Clone the repository:
git clone https://<your_github_repo_url>.git
-
Create a virtual environment (recommended):
python -m venv venv # or virtualenv venv source venv/bin/activate # or . venv/bin/activate (Windows)
-
Install dependencies:
pip install -r requirements.txt
-
Run migrations (Optional):
python manage.py makemigrations python manage.py migrate
-
Start the development server:
python manage.py runserver
This will typically launch the server on
http://localhost:8000
. -
Access the application:
Open your web browser and navigate to
http://localhost:8000
to see your Django Todo app running.