Real-time Q&A Application with Websockets inspired by Kahoot
Real-time Q&A Application inspired by Kahoot. A discovery project into Python Flask websockets with SocketIO, and an exploration on using technology to host events for student clubs.
This application was used for this event: https://www.facebook.com/events/1127839204040865/
Note: This project requires Python 3.6+, Docker and Docker Compose installed. For Mac users, ensure you are using the correct version of Python because the OS preinstalls Python 2.7 and default pip
and python
commands execute in v2.7 rather than v3.x.
If you don't have Python 3 installed on your Mac, you can install Homebrew and run brew install python3
on your terminal.
pip3 install virtualenv
if virtualenv is not installed on Python3.6+$ virtualenv answer-me-venv --python=/usr/local/bin/python3
$ source answer-me-venv/bin/activate
(answer-me-venv) $ git clone [email protected]:choyiny/answer-me.git
(answer-me-venv) $ cd answer-me
(answer-me-venv) $ pip install -r answer/requirements.txt
(answer-me-venv) $ docker-compose up -d
answer-me-venv/bin/python3.x
$ source answer-me-venv/bin/activate
(answer-me-venv) $ cd answer-me
(answer-me-venv) $ FLASK_APP=answer.app flask run
http://localhost:5000
$ docker-compose down -v
$ docker-compose up --build -d