https://github.com/abrams27/giftdraw1000
https://github.com/abrams27/giftdraw1000
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/abrams27/giftdraw1000
- Owner: abrams27
- License: mit
- Created: 2021-12-08T11:01:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-14T11:55:21.000Z (over 4 years ago)
- Last Synced: 2025-02-25T08:54:13.730Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# giftdraw1000
simple, web server based program for random drawing of who should be given a gift for e.g. christmas
---
## configuration
in `config.py`:
- set `seed` that will be used for the random generator
- set `participants` as list of string
## running
just run the command:
```
python server.py
```
server will be available at `localhost:8080` and will generate `participants.txt` with with the 'keys' of each participant
## usage
to see who has been chosen for you visit `localhost:8080/chuj/`