
1 RyuZheng 2014-07-03 17:13:23 +08:00 不错很好 |
2 Mihuwa 2014-07-03 20:55:31 +08:00 很不错。 |
3 da_a 2014-07-03 23:42:09 +08:00 好! |
4 chunchu 2014-07-04 00:05:40 +08:00 不错的博客系统 |
5 woorz 2014-07-04 10:12:43 +08:00 没有php的? |
6 XXOO 2014-07-04 14:31:59 +08:00 vps 可以使用么 |
7 loading 2014-07-05 13:01:21 +08:00 没测试账号,进不去后台看 |
8 gully OP @XXOO 没问题, vps上RUNTIME_ENV会自动识别成local, 按照https://github.com/deepgully/me#%E6%9C%AC%E5%9C%B0%E8%B0%83%E8%AF%95bae 更改数据库配置就行了 默认使用flask自带的服务器, 且开启debug模式 在index.py最后: elif RUNTIME_ENV == "local": app.run(debug=True) 你也可以使用其他WSGI服务器, 如 gevent elif RUNTIME_ENV == "local": from gevent.wsgi import WSGIServer http_server = WSGIServer(('', 80), app, log=None) http_server.serve_forever() 或者 tornado elif RUNTIME_ENV == "local": from tornado.wsgi import WSGIContainer from tornado.httpserver import HTTPServer from tornado.ioloop import IOLoop http_server = HTTPServer(WSGIContainer(app)) http_server.listen(80) IOLoop.instance().start() |
9 bullettrain1433 2014-07-07 11:50:51 +08:00 回去试试,很给力啊!! |
10 ansenlee 2014-07-10 12:11:28 +08:00 既然做了响应式,为啥不做彻底呢。。。 |