Giter VIP home page Giter VIP logo

myblog's Introduction

Django搭建个人博客

py3.6  

使用Django快速搭建博客

环境

  • Python: 3.X
  • Django: 2.0.x
  • MySQL

特点

  • 博客文章 markdown 渲染,代码高亮
  • 第三方社会化评论系统支持(畅言)
  • 三种皮肤自由切换
  • 全局搜索
  • 阅读排行榜/最新评论
  • 多目标源博文分享
  • 博文归档
  • 友情链接
  • 分享、打赏功能

下载

git clone https://github.com/myminwang/myblog.git

安装

pip install -r requirements.txt  #安装所有依赖
setting.py配置自己的数据库
配置畅言:到http://changyan.kuaizhan.com/注册站点,将templates/message.html中js部分换成你在畅言中生成的js。
python manage.py makemigrations
python manage.py migrate
python manage.py runserver

浏览器中打开http://127.0.0.1:8000/即可访问

Screen Shots

  • 首页 首页

  • 文章列表 文章列表

  • 文章内容 文章内容

myblog's People

Contributors

myminwang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.