Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tranphuquy19/rails_test_online
Web thi trắc nghiệm online sử dụng FW Ruby on Rails
https://github.com/tranphuquy19/rails_test_online
Last synced: 2 days ago
JSON representation
Web thi trắc nghiệm online sử dụng FW Ruby on Rails
- Host: GitHub
- URL: https://github.com/tranphuquy19/rails_test_online
- Owner: tranphuquy19
- Created: 2019-04-04T10:23:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-14T05:25:57.000Z (almost 2 years ago)
- Last Synced: 2023-06-07T02:37:32.274Z (over 1 year ago)
- Language: CSS
- Homepage: https://nihongo-tesuto.tk/
- Size: 54.9 MB
- Stars: 0
- Watchers: 0
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
## Demo here: https://youtu.be/InPNwIIf4TE
## Installation guide
```shell
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`