Skip to content

elliotxx/MingBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

个人博客:呓语 | 杨英明的个人博客

欢迎访问!

特性

  • 采用markdownx编辑器,支持编辑页和预览页双排显示,支持图片拖曳上传
  • 支持markdown和html两种编写博文的方式
  • 采用多说评论框
  • 文章分类
  • 文章标签
  • 文章归档
  • 广告滚动条
  • 适配移动端

部署项目

下载项目

clone https://github.com/windcode/MingBlog.git

修改 MingBlog/setting.py

  • 1、关闭DEBUG功能 DEBUG=False
  • 2、ALLOWED_HOSTS = [] 改为 ALLOWED_HOSTS = ['*'] 允许所有IP访问
  • 3、填写数据库信息
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'blog',
        'USER': 'youruser',
        'PASSWORD': 'yourpwd',
        'HOST': '127.0.0.1',    # 默认
        'PORT': '3306',         # 默认
    }
}
  • 4、填写网站基本信息
SITE_HOST = 'http://www.your-domain.com'
SITE_NAME = 'xxx的个人博客'
SITE_DESC = '这是我的博客,专注于技术分享,欢迎交流'
ZHIHU_PAGE = ''
PRO_RSS = ''
PRO_EMAIL = 'youremail'

About

A personal blog based on Django

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy