1 Star 1 Fork 1

air_cn / aswan

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
start.sh 572 Bytes
一键复制 编辑 原始数据 按行查看 历史
Leo Howell 提交于 2019-06-14 17:34 . Add risk control project code
#!/usr/bin/env bash
cur_dir=`pwd`
## 启动管理后台(调试用,不要用于生产)
nohup python ${cur_dir}/www/manage.py runserver &
# 使用uwsgi启动后台
#command="uwsgi --master --vacuum --processes 10 --socket 127.0.0.1:8000 --chdir ${cur_dir}/www --max-requests 5000 --module wsgi:application --logto ${cur_dir}/www/risk-control.log --pidfile ${cur_dir}/www/risk-control.pid"
#nohup $command &
# 启动拦截日志持久化进程
nohup python ${cur_dir}/www/manage.py persistence_hit_log &
## 启动风控服务
nohup python ${cur_dir}/risk_server.py &
Python
1
https://gitee.com/air__cn/aswan.git
git@gitee.com:air__cn/aswan.git
air__cn
aswan
aswan
master

搜索帮助