Update README.md

This commit is contained in:
Jerry Wu 2018-10-28 16:53:54 +08:00 committed by GitHub
parent ca1dbee299
commit 13911e603e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,25 @@
# 210-seat # 210-seat
## Overview
一個抽籤選座位程式。先生成一張隨機座位表,再根據所有人輸入的需求進行移動,以達到較為公平的結果。
## Envirnoment
* Node.js with mongodb installed
* Python 3.X
## Run
```bash
cd web
npm install
npm start
```
### Export
`node export.js`
### Run requirements
```bash
cd ../cli
python seats.py run
```
Result will be saved in `seats.txt`.