Code Monkey home page Code Monkey logo

django-blog's Introduction

Django Blog

传送门: call-fold之家

my_blog

Update

  • 2017.02.13: 实验室-电影搜索器, 定时爬取全站数据, 清洗后从Redis中访问, 如没有, 则在线爬取查询
  • 2017.01.11: 为站点添加SSL, http -> https
  • 2017.01.09: 解决markdown换行问题
  • 2017.01.01: 增加AJAX功能, jQuery实现
  • 2016.11.26: 增加**实验室-电影搜索器, 具体的项目请参考MovieCrawler**
  • 2016.08.21: 增加sites站点
  • 2016.08.21: 增加nginx和uWSGI

Requirement

  • Python (3.4.3)
  • pyenv
  • Pure.css
  • MySQL
  • nginx
  • jQuery
  • Redis

Pip List

  • Django (1.8.2)
  • django-disqus (0.5)
  • Markdown (2.6.6)
  • PyMySQL (0.7.2)
  • uWSGI (2.0.13.1)
  • redis (2.10.5)

Tips

  • 本博客基本参考Andrew_liu的Django博客教程进行搭建
  • 数据库从SQLite3换为MySQL
  • 使用pyenv管理python环境, 具体参考这篇文章
  • CSS采用yahoo的Pure, 具体配置参考Pure主页
  • 开发环境选择JetBrains的PyCharm
  • 部署方式: web应用(Django)+web应用服务器(uWSGI)+web服务器软件(nginx), 动态请求由uWSGI传递给Django, 静态请求由nginx处理

待解决问题

  • Disqus异步加载有些问题
  • 耗时长的搜索项, 有些不稳定
  • 电影搜索时, nginx会504超时, 待解决
  • 电影搜索时, 下方的disqus不要重载

django-blog's People

Contributors

call-fold avatar

Watchers

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