prashantsagar73 / Blogapp

A blog website where user can post their post their blog and share with world.

Home Page:https://blogexx.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BLOGEX

_A blog website where user can post their post their blog and share with world.


Have a look on : https://blogexx.herokuapp.com/

Django Blog

Full-Featured Blog with Django web framework.

Features

  • User Registration
  • User Login & Logout
  • User Profile
  • Create, Update, Edit & Delete Posts
  • Comments
  • Search
  • User Change Password
  • Password Reset
  • Customized admin panel

How To Use

Clone project & Install Requirements

Make sure you have already installed python3 and git.

$ git clone https://github.com/prashantsagar73/Blogapp.git
$ pip install -r requirements.txt

Migrate & Collect Static

$ cd src && python manage.py migrate
$ python manage.py collectstatic

Create Admin User

$ python manage.py createsuperuser

Run Server

$ python manage.py runserver

Enter your browser http://localhost:127.0.0.1:8000/ You can login via admin in http://localhost:127.0.0.1:8000/admin/.

Add Some Fake Posts

First add one another user from blog register page or admin panel.

$ python manage.py shell
>>> from blog.models import Post
>>> import json
>>> with open('posts.json') as f:
...     json_posts = json.load(f)
...
>>> for post in json_posts:
...     Post(title=post['title'], content=post['content'], author_id=post['user_id']).save()
...
>>> exit()

You can edit posts via admin panel or from corrent user added post.

TODOS

  • Change Style
  • More Options For New Post
  • Sidebar
  • Reply comment
  • Search for post any pages
  • Create following system
  • Read later post
  • ...

About

A blog website where user can post their post their blog and share with world.

https://blogexx.herokuapp.com/

License:MIT License


Languages

Language:Python 52.9%Language:HTML 47.1%