Giter Site home page Giter Site logo

dmblog's Introduction

DMBlog

DM博客源代码,欢迎下载(DM博客地址:http://www.dmcool.top/ )


一、安装过程

1、项目环境

Python 3.5
Django 2.0

2、安装依赖

项目文件夹下有一个requirements.txt文档,用一下指令进行安装
pip install -r requirements.txt

3、运行一下指令

python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver

4、安装过程出现的问题

安装之前确保每个app(blog、comments、users)中的migrations文件夹中只有__init__.py文件,其他多余的要删除,不然运行python3 manage.py makemigrations和python3 manage.py migrate会报错
------------------------------------------------------

二、功能说明

1、微博、github第三方认证登陆

2、文章第三方分享

3、优化首页加载速度,主要针对图片大小优化

4、highlight使文章中嵌入的代码高亮

5、站长统计

6、sitemap地图

7、博客内容搜索

其他内容可以查看DM博客主页( http://www.dmcool.top/ )了解或者下载代码跑起来玩玩

三、页面展示

image

dmblog's People

Contributors

coolzhm avatar

Watchers

James Cloos 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.