【Rails new】Ruby on rails アプリケーション作成


開発環境

■ Mac OS catalina
■ Ruby on Rails (5.2.4.2)
■ Virtual Box:6.1
■ Vagrant: 2.2.7

実装

仮想環境内にて、

①アプリケーション自動作成

①Mac内.terminal
$ rails new (アプリケーション名)

②作成したアプリケーションに移動

②Mac内.terminal
$ cd (アプリケーション名)

③サーバーを起動

③Mac内.terminal
$ rails s -b 0.0.0.0

Google chromeにてhttp://localhost:3000

以上