Skip to content

tranphuquy19/Rails_Test_Online

Repository files navigation

README

Installation guide

curl -L https://get.rvm.io | bash -s stable --ruby
source /home/$USER/.rvm/scripts/rvm # activate ruby enviroment
rvm install ruby-2.6.1 # install ruby version 2.6.1 <- this project uses ruby v2.6.1
gem install rails
git clone https://github.com/tranphuquy19/Rails_Test_Online.git
cd Rails_Test_Online
bundle install
rails db:create
rails db:migrate
rails seeder:all # seed the data <- run `rails -h` to get all commands
rails test_online:setAdminByEmail[[email protected]] # choose the user wiith email [email protected] as the admin account
rails server # start server

Shortcut

rails db:drop && rails db:migrate && rails seeder:all && rails test_online:setAdminByEmail[[email protected]] && rails server

About

Web thi trắc nghiệm online sử dụng FW Ruby on Rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •