QuizMaster is an application, can play and manage quizzes.
Please install docker to your computer.
ref: Docker docs
Please git clone this repository.
$ cd /path/to/repository
$ docker-compose build
# Building docker image. Please wait several minutes...
$ docker-compose up
$ docker-compose exec web bin/rails db:create
$ docker-compose exec web bin/rails db:migrate
# if you want seed data, please execute db:seed command
$ docker-compose exec web bin/rails db:seed
Open http://localhost:3000
in your browser.
access /questions
or clicked Manage Question
navigation bar menu.
/quiz
or clicked Quiz
navigation bar menu.submit
button.Correct
or Incorrect
, and displayed next quiz.Use RSpec for unit testing.
$ docker-compose exec web bin/rails spec