Coder Social home page Coder Social logo

pyweixin_saelog's Introduction

pyWeiXin_SAElog

this is a python tornado framework based blog system for SAE platform, this blog system can response the request of WeiXin.

这是一个用python的框架 tornado写的博客系统,这个博客系统带有微信的响应功能,所以能够响应微信用户的请求。

安装教程如下:

配置

修改 /config.yaml 把 name: appname 改为自己的appname,如scnuwriter; 修改 setting.py 的相关设置,每项后面都有说明,包括邮箱,还有数据库密码等。 还有如果不想把自己的博客设为debug状态,可以在index.wsgi文件setting里面,将debug选项改成false。 部署

接下来 到SAE 后台开通相关服务(mysql/Storage/Memcache/Task Queue) 这些服务SAE 是不会自己开通,需要到后台手动完成: #初始化 Mysql (这是必要的) #建立一个名为 attachment的 Storage (发帖时上传图片或附件用的) #启用Memcache,初始化大小为1M 的 mc,大小可以调,日后文章多了,PV多了可酌情增加,让你的博客响应更快。 #创建一个 名为 default 的 Task Queue 这个是用来做发提醒邮件,选择顺序队列 等级 为1

打包程序,在SAE 后台通过打包上传代码,注意压缩包下面必须是所有的目录与文件,因为上传展开的是压缩包内的结构;打开 http://your_app_id.sinaapp.com/install 如果出错刷新两三次就可以,提示要输入管理员帐号。

具体请参考博客 http://bibodeng.web-149.com 里面的文章《带微信功能的sae博客》 http://bibodeng.web-149.com/?post=116

pyweixin_saelog's People

Contributors

cryptoz258 avatar

Stargazers

 avatar  avatar 穿山甲 avatar

Watchers

穿山甲 avatar James Cloos avatar  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.