210-seat/README.md
2018-12-22 00:46:56 +08:00

26 lines
414 B
Markdown

# 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`.