Skip to content

joshua5201/tioj

Repository files navigation

TIOJ INFOR Online Judge

###Remember to change secret token in production!!! ###NOTE: This project is under heavy development and not usable!!!

Resources

Ruby on Rails Guides

Ruby on Rails Reading List by XDite

Ruby on Rails 實戰聖經

###Remember to start mysql server before starting rails

Test

$ git clone https://github.com/joshua5201/tioj.git
$ bundle install
$ bundle exec rake db:create
$ bundle exec rake db:migrate
$ rails s

Dump SQL

$ mysqldump tioj_dev -u root -p --opt > tioj_dev00.sql

Restore SQL

$ mysql -u root -p < tioj_dev.sql