Quizzy is an assessment gathering application where admin can create quizzes. Each quiz has multiple choice type questions. A unique URL can be generated by the admin which can be send to other users to record attempts and genrate report for the admin.
Make sure that the above requirements are fulfilled in order to run the app locally.
- STEP 1-- Fork the project repo and clone it in your local repository.
git clone [email protected]:abhinavsingh06/quizzy.git
- STEP 2-- Open the terminal and write following commands.
$ bundle install
$ yarn install --check-files
-
Make sure you run all your commands from inside cloned
/quizzy
folder. -
STEP 3-- Make a file
/.env
, and run the following commands, copy and paste the contents ofconfig/database.yml
and add your credentials in.env
. -
STEP 4-- Now, run the following commands:
$ rails db:create
$ rails db:migrate
$ rails server