Wiki

Clone wiki

bottle-simple-todo / HowDeploy

如何部署 Simple-TODO(Bottle版)

本地部署

确信:

  1. Python > 2.5.*
  2. Hg > 1.8.*

部署和启动:

以Ubuntu 环境为例,其它OS 情况类似

$ mkdir -p /path/2/u/workspace/
$ hg clone https://bitbucket.org/ZoomQuiet/bottle-simple-todo
$ cd bottle-simple-todo
$ python zqbtodo.py
Bottle server starting up (using WSGIRefServer())...
Listening on http://0.0.0.0:9126/
Use Ctrl-C to quit.
...

使用任意浏览器访问: http://127.0.0.1:9126

文档

Updated