Skip to content

gene-2012/open-blog-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenBlog Service

Introduce

This is a simple open-source blog system based by Django.

It has several key features as follows:

  • Simple blog display.

  • User-defined homepage.

  • Powerful backend(powered by Django).

URL Tree

  • localhost
    • /:index
    • blogs/[blog_id]/: Blog detail
    • new_blog/: new blog
    • edit_blog/[blog_id]/: edit blog
    • delete_blog/[blog_id]/: delete blog
    • /user/
      • [user_id]/[page_id]/: user home
      • edit_page/[user_id]/: edit user home
    • /accounts/
      • login/: login
      • register/: register(closed)

Picture

Home page: Home Page

Blog detail: Blog Detail

Edit blog: Edit Blog

User-defined homepage: User-defined Homepage

Admin page(by Django): Admin

Add blog page: Add Blog

Login: Login

How to Run This App

Prework

python -m venv bl_env
source bl_env/bin/activate  # for Linux
pip install django

Database And User Settings

Database

We use SQLite as the database. Run this code to initialize.

python manage.py migrate

User

Before starting the app, please create a super user first.

python manage.py createsuperuser

Start a Development Server

python manage.py runserver

Contact Us

Email: [email protected]

About

A Django-based open blog service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published