Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History
 
 

django-diary

Build Your Personal Diary With Django

This is a companion project to the "Build Your Personal Diary With Django" tutorial on Real Python. Visit the article to follow along or download the content of source_code_final folder from this repository.

Type the following commands into a terminal to create and activate a virtual environment and install the requirements:

$ python -m venv venv
$ source venv/bin/activate
$ python -m pip install -r requirements.txt

Then you can navigate into a step folder, run the database migrations, and create a superuser:

$ python manage.py migrate
$ python manage.py createsuperuser

Finally, run the local Django development server:

$ python manage.py runserver