Skip to content

Latest commit

 

History

History
117 lines (86 loc) · 2.72 KB

README.md

File metadata and controls

117 lines (86 loc) · 2.72 KB

DBlog

Powered by Django.

ER Diagram

ER-diagram


Pages

  • Home page
  • Article Detail page
  • Add Post Page
  • Add Category Page
  • Update Post
  • Delete Post
  • Add Comment page
  • Blogs filtered by category page
  • Category List Page
  • Register Page
  • Login Page
  • Edit Profile Page
  • Password Change page
  • Show Profile Page
  • Edit Profile Page
  • Create profile page

Installation

    • Fork the repo
    • Clone the repo to your local system
    git clone https://github.com/pkini2002/DBlog-Application.git
    cd DBlog-Application
    

    Make sure you have python installed on your system.

  1. Create a Virtual Environment for the Project

    If u don't have a virtualenv installed

    pip install virtualenv

    For Windows Users Initially when you clone the project run

    virtualenv env
    source env/Scripts/activate

    For subsequent run of the project you can simply use

    virtualenv env
    env/Scripts/activate

    For Linux Users

    virtualenv env
    source env/Scripts/activate

    If you are giving a different name than env, mention it in .gitignore first

  2. Install all the requirements

    pip install -r requirements.txt
  3. Make migrations/ Create db.sqlite3

    python manage.py makemigrations
    python manage.py migrate
  4. Create a super user. This is to access Admin panel and admin specific pages.

    python manage.py createsuperuser
    

    Enter your username, email and password.

  5. Run server

    python manage.py runserver

Snapshots

Home Page

Home

Article Detail Page

article details

Blogs filtered by category page

category filtering