Buchtička Quiz: The Best Kahoot Alternative
- Install xampp on Windows or Fedora (Apache+php+mysql)
- Clone this repository
- You can just clone it into htdocs (/var/www/html), not officially supported
- We recommend making a virtualhost called quiz.example.com in folder htdocs/quiz.example.com (in case you use Windows) or make a folder in /var/www (if you use Linux) (more info on https://httpd.apache.org/docs/2.4/vhosts/examples.html)
- edit credentials in /controlDatabase/dbConnect.php
- Go to /setup
- Modify DB server's credentials in /setup/dbCredentials.php
- Use your browser to open: yourip:yourport/setup
- If everthing is OK then:
- You have added default settings to database
- You have to remove the /setup directory manually (for security reasons)
- If something went wrong, try using google and modifying the original files
- If you can't find any help on the internet, report your problem in Issues of this repository!
- Open yourip:yourport/admin
- Default login: admin
- Default password: admin
- Can be changed in the database (stored as plaintext)
- Install Python 3
sudo pip install -r requirements.txt
- Go to /_bot/ and run
python run.py