commit
82e5b4fab3
23
README.md
23
README.md
@ -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`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user