[READ-ONLY] Mirror of https://github.com/shuuji3/rails-tutorial-sample-app.
0

Configure Feed

Select the types of activity you want to include in your feed.

Write README.

+30 -13
+30 -13
README.md
··· 1 - # README 1 + # Ruby on Rails チュートリアルのサンプルアプリケーション 2 2 3 - This README would normally document whatever steps are necessary to get the 4 - application up and running. 3 + これは、次の教材で作られたサンプルアプリケーションです。 4 + [*Ruby on Rails チュートリアル*](https://railstutorial.jp/) 5 + [Michael Hartl](http://www.michaelhartl.com/) 著 5 6 6 - Things you may want to cover: 7 + ## ライセンス 7 8 8 - * Ruby version 9 + [Ruby on Rails チュートリアル](https://railstutorial.jp/)内にある 10 + ソースコードはMITライセンスとBeerwareライセンスのもとで公開されています。 11 + 詳細は [LICENSE.md](LICENSE.md) をご覧ください。 9 12 10 - * System dependencies 13 + ## 使い方 14 + 15 + このアプリケーションを動かす場合は、まずはリポジトリを手元にクローンしてください。 16 + その後、次のコマンドで必要になる RubyGems をインストールします。 17 + 18 + ``` 19 + $ bundle install --without production 20 + ``` 11 21 12 - * Configuration 22 + その後、データベースへのマイグレーションを実行します。 13 23 14 - * Database creation 24 + ``` 25 + $ rails db:migrate 26 + ``` 15 27 16 - * Database initialization 28 + 最後に、テストを実行してうまく動いているかどうか確認してください。 17 29 18 - * How to run the test suite 30 + ``` 31 + $ rails test 32 + ``` 19 33 20 - * Services (job queues, cache servers, search engines, etc.) 34 + テストが無事に通ったら、Railsサーバーを立ち上げる準備が整っているはずです。 21 35 22 - * Deployment instructions 36 + ``` 37 + $ rails server 38 + ``` 23 39 24 - * ... 40 + 詳しくは、[*Ruby on Rails チュートリアル*](https://railstutorial.jp/) 41 + を参考にしてください。