gemインストール docker-compose run --rm web bundle install run コンテナの開始 --rm コンテナ実行後に削除。デタッチド・モードの場合は無視 web サービスです。 docker-compose.ymlで指定したservicesです。 今回はweb…
まずはTOPページ用のControllerとメソッドを追加しました。 rails g controller root index あとは、routes.rbにroot toを追加。 get 'root/index' root to: 'root#index' これで、http://localhost…