Famous game "Who Wants to Be a Millionaire?". If you wish to have some nostalgia - just install this game on your PC, play and have fun!
- Registration&Authorization (Devise)
- Admin (to upload new questions/answers)
- Required Ruby (v. 3.1.2) & Rails (v. 7) installed on your PC.
- Clone application to local PC:
git clone [email protected]:Godlikefreq/khsm.git
- Run
bundle install
- To specify database name, adapter and other parameters for different scopes change it in
config/database.yml
. Default DB adapter is PostgreSQL (Install PostgreSQL on Ubuntu 20.04). - Make new database (Create DB in PostgreSQL).
- Run
bundle exec rails db:migrate
- To run application on your local machine run following command in console:
rails s
- Open
http://localhost:3000/
in your browser.
- Create new user (Registration URL)
- Make user admin:
- open console in app's folder
rails c
- find your recently created user:
u = User.last
- make user admin:
u.is_admin=true
- open admin's panel and upload new questions (Questions uploading URL)
- Powered with Bootstrap 5
- Made and tested on Ruby 3.1.2 & Rails 7