Simple A/B choice game https://ab.21x9.org
Go to file
root d7546601dd Added error message 2023-06-03 00:36:57 +02:00
static Improved CSS 2023-06-02 19:08:17 +02:00
templates Added timestamp to ressources to avoid caching 2023-06-02 22:34:43 +02:00
LICENSE Initial commit 2023-06-02 09:47:04 +02:00
README.md Added config.ini 2023-06-02 10:24:06 +02:00
ab.txt Fixed Typo 2023-06-03 00:31:08 +02:00
config.ini Made timezone configurable 2023-06-02 20:40:30 +02:00
game.py Added error message 2023-06-03 00:36:57 +02:00
requirements.txt Updated requirements 2023-06-02 22:09:18 +02:00
supervisor.conf Added logfile 2023-06-02 12:31:55 +02:00

README.md

abgame

Simple choice game.

Installation

  1. Clone the Repo into /opt/ab/
  2. Put A/B questions in ab.txt
  3. Optional: Set config variables in config.ini
  4. Install requirements (pip install -r requirements.txt)
  5. Install supervisord
  6. Copy supervisor.conf to /etc/supervisor/conf.d/abgame.conf
  7. Reload supervisor (supervisorctl reload)
  8. Open your browser and navigate to http://localhost:5000