A simple django blog.
$ git clone https://github.com/ridvanaltun/django-blog.git
$ cd django-blog/
$ pip install -r requirements.txt
Start http server:
$ python manage.py runserver
- adress: http://localhost:8000/
- admin panel: http://localhost:8000/admin
- username: santa
- password: cruz
If you want create a new database follow this directions:
- You need to stop your http server by pressing ctrl + c if it running.
- Then you can type codes below to terminal:
$ rm -rf db.sqlite3
$ rm -rf media
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py createsuperuser