"To Do" application built with Django framework (Python) and SQLite database.
Application build from To Do App in Django tutorial series.
To run the application:
- Clone the application from the repository:
git clone https://github.com/TimothyDJones/django-todoapp.git cd django-todoapp
- Create a Python 3 virtual environment and activate it:
python3 -m venv .env source .env/bin/activate
- Install required Python libraries in your virtual environment:
pip install -r requirements.txt
- Create and run the database migrations:
python3 manage.py makemigrations python3 manage.py migrate
- Create the administrative user for administration dashboard:
You will prompted for username, email address, and password.
python3 manage.py createsuperuser
- Launch the application:
By default, Django runs on port
cd todoapp python3 manage.py runserver
8000
, but you can use a different port by specifying it at end of the command line (i.e., afterrunserver
). See therunserver
documentation for more information. - Open your web browser to
http://localhost:8000/
(or replace8000
with the port you specified in step #4 above).