3 changed files with 22 additions and 1 deletions
|
After Width: | Height: | Size: 1.1 MiB |
@ -0,0 +1,21 @@
@@ -0,0 +1,21 @@
|
||||
# 游戏部运营技术中心2018年会抽奖程序 |
||||
|
||||
 |
||||
|
||||
## 环境部署 |
||||
|
||||
1. 下载并安装[python3](https://www.python.org/ftp/python/3.6.4/python-3.6.4.exe)。 |
||||
2. 获取源代码 `git clone http://code.yy.com/luoning/lottery-2018.git` |
||||
3. `cd lottery-2018` |
||||
4. 安装pyenv虚拟环境 `python3 -m venv` |
||||
5. 激活并使用虚拟环境 `venv/Scripts/activate.bat` (非windows使用 `source venv/bin/activate`) |
||||
6. 安装依赖环境 `pip install -r requirements.txt` |
||||
7. 运行程序 `python3 run.py` |
||||
8. 使用浏览器打开 <http://127.0.0.1:8080> 即可看到欢迎页 |
||||
|
||||
|
||||
|
||||
## 关于 |
||||
|
||||
- 前端:JQuery, TagCanvas ([email protected]) |
||||
- 后台:python3, bottle, tinydb ([email protected]) |
||||
Loading…
Reference in new issue