/c0-django-blog

(Course0) a blog web app

Primary LanguagePython

Course0-django-blog

my first web app in django framework

Requirements:

  • python, pip
  • Django 2.2

Installation:

  • clone this repo & cd into it
  • create virtual environment with
$ python -m venv /path/to/new/virtual/environment
  • activate virtual environment with /path/to/new/virtual/environment/Scripts/activate
  • install packages with
$ pip install -r ./requirements.txt
  • run migrations with python manage.py migrate

Dashboard setup

  • create superadmin with the following command:
$ python ./src/manage.py createsuperuser
  • visit http://localhost:8000/dashboard