Skip to content

PacyWu/coursenote

 
 

Repository files navigation

#中原大學選課大全

Build Status Code Climate Test Coverage

系統需求

  • Ruby 2.2以上

  • PostgreSQL 9.4以上

  • Redis

安裝使用

確認Ruby和Bundler已安裝

$ ruby -v
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
$ gem install bundler
Successfully installed bundler-1.10.6

確認PostgreSQL已安裝並啟動

$ which postgres
/usr/local/bin/postgres
$ ps aux | grep postgres

安裝相關套件並建立DB

$ bundle install
$ createdb coursewiki
$ rake db:migrate

匯入課程資料

$ rake data:import[1022]
$ rake data:import[1031]
$ rake data:import[1032]
$ rake data:import[....]

啟動server

$ rails server
=> Booting Puma
=> Rails 4.2.0 application starting in development on https://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server

License

本專案使用MIT License授權。

About

新版中原大學選課大全

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 56.6%
  • HTML 27.1%
  • CSS 12.0%
  • CoffeeScript 3.3%
  • JavaScript 1.0%