Programming Quiz Site
Switch branches/tags
Nothing to show
Clone or download
Latest commit 625166d Sep 22, 2018
Permalink
Failed to load latest commit information.
build Delete a Sep 22, 2018
data Delete a Sep 22, 2018
html Update footer.php Sep 22, 2018
tools Delete a Sep 22, 2018
LICENSE Update LICENSE Sep 22, 2018
README.md Update README.md Sep 22, 2018
devenv.sh Add files via upload Sep 22, 2018
devstart.sh Add files via upload Sep 22, 2018

README.md

web

Website for creating programming quizes

Live instantiation at these commerical URLs:

http://www.mypythonquiz.com/
http://www.mycppquiz.com/
http://www.myperlquiz.com/
http://www.mycquiz.com/
http://www.myphpquiz.com/
http://www.myjavaquiz.com/
http://www.mypostgresqlquiz.com/

instructions for deployment

update config.php for a production credentials update config.php for dev environment by providing a language selection override

instructions for build

docker build build
. devenv.sh
bash devstart.sh
./startup.sh

load a backup of database, run the command from where the sql is located (e.g. in var/www/html)

mysql quiz < /var/www/data/quiz.sql

instructions for test

# from host 
# browse http://localhost:49200/

dumping with insert for each row

# mysqldump --extended-insert=FALSE quiz > quiz.sql

adding questions

# http://localhost:49200/edit.php