/blog-django

Let's try Django 🚀

Primary LanguageHTMLMIT LicenseMIT

Description

This is my personal website

Features

Portfolio page

  • Name
  • Social Media
  • Skills
  • Projects
  • Journey

Blog

  • Articles
  • Tags
  • Categories
  • Article created and updated date
  • Pagination

Technical

  • Postgres

Installation

Django

note: If you use windows, type python instead of python3

first check your python version is 3.x

check if pip is already installed on your pc

python3 -m pip --version

if you haven't check this

then install Django

python3 -m pip install Django

Postgres

Check this

Project

After all that let's set up the project! Open the terminal with the path of the folder where you have the project.

python3 manage.py migrate
python3 manage.py makemigrations
python manage.py migrate --run-syncdb
python3 manage.py runserver

if you want to create a super user:

python3 manage.py createsuperuser

add username, email and passwrod.

after run

python3 manage.py runserver

Open your browser at this link localhost:8000/admin and add informations,tags, categories, articles, projects and skills.

Finally, go to the home page localhost:8000 and done!

Libraries

License

MIT