Quizzy is a Python Flask-based multiplayer quiz web app ready to run in container mode for reliable, streamlined deployment locally or a cloud provider such as AWS.
-
Excellent instructions for installing Python on various operating systems available at:
https://realpython.com/courses/installing-python-windows-macos-linux/Once Python is installed, we recommend installing Pipenv using pip:
$ pip install --user pipenv
-
$ pipenv shell
-
$ pipenv install -r requirements.txt
-
Create a .env file in the quizzy directory and add a variable "SECRET_KEY" with your random token as a the value.
SECRET_KEY=<YOUR RANDOM TOKEN HERE>
-
$ python3 wsgi.py
-
$ sudo docker-compose up
-
$ sudo docker-compose down
While in dev testing, naviate your browser to the localhost port 6002 (i.e. http://localhost:6002)
In production mode, navigate your browser to server IP address (i.e. http://192.168.1.10)
quizzy_screencast.mp4
Please open an issue to suggest fixes or ideas for improving quizzy.