Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dessaya/simplepoll
Simple website to send a poll to a live remote audience
https://github.com/dessaya/simplepoll
poll python
Last synced: 10 days ago
JSON representation
Simple website to send a poll to a live remote audience
- Host: GitHub
- URL: https://github.com/dessaya/simplepoll
- Owner: dessaya
- License: mit
- Created: 2020-04-10T17:31:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-19T13:46:49.000Z (over 3 years ago)
- Last Synced: 2024-10-25T15:38:42.749Z (about 2 months ago)
- Topics: poll, python
- Language: Python
- Homepage:
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimplePoll
Send a quick multiple-choice poll to a live remote audience.
## Run
1. Install the dependencies:
```
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip3 install -r requirements.txt
```2. Start the server:
```
(venv) python3 poll.py
```## Use
1. Go to `http://localhost:8000`
2. Create a poll by entering the title and options.
3. Copy the poll URL (not the admin URL!) and send it to your audience (eg. via videoconference chat).
5. Go to the poll results page.## Persistence
Polls are stored in RAM. Unless the `BACKUP_FILE` environment variable is set, all polls will be
lost when the service is stopped. To enable backups:```
$ BACKUP_FILE=polls.json python3 poll.py
```Also, there is a limit on the amount of polls stored (currently set at 100), so old ones
will be eventually evicted.