Merge pull request #1 from a91082900/master

Update README.md
This commit is contained in:
Tony Yang 2018-10-28 17:01:05 +08:00 committed by GitHub
commit 82e5b4fab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,25 @@
# 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`.