これは、次の教材で作られたサンプルアプリケーションです。 Ruby on Rails チュートリアル Michael Hartl 著
Ruby on Rails チュートリアル内にあるソースコードはMITライセンスとBeerwareライセンスのもとで公開されています。詳細は、LICENSE.mdをご覧ください。
このアプリケーションを動かす場合は、まずはリポジトリを手元にクローンしてください。 その後、次のコマンドで必要になる RubyGems をインストールします。
$ bundle install --without production
その後、データベースへのマイグレーションを実行します。
$ rails db:migrate
最後に、テストを実行してうまく動いているかどうか確認してください。
$ rails test
テストが無事に通ったら、Railsサーバーを立ち上げる準備が整っているはずです。
$ rails server
詳しくは、Ruby on Rails チュートリアルを参考にしてください。
This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version
-
System dependencies
-
Configuration
-
Database creation
-
Database initialization
-
How to run the test suite
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions
-
...