- Linux
- python 2.7
- mysql
- redis
- nginx
默认部署在用户根目录,假设用户为 work,即部署再 /home/work
$ cd ~ && git clone https://github.com/rsj217/tongdao
$ cd tongdao
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ mv conf/nginx.conf /etc/nginx/site-enable/
$ mv conf/supervisor.conf /etc/
$ sudo supervisorctl -c /etc/supervisor.conf status
$ sudo supervisorctl -c /etc/supervisor.conf restart tongdao
使用手机微信访问链接地址:
https://example.com/