LoginSignup
0
0

More than 3 years have passed since last update.

アプリケーションの作成〜立ち上げ

Posted at

アプリケーション作成の流れ

①アプリケーションを保存するためのディレクトリを作成
②新規のrailsアプリケーションを作成
③データベースを作成
④アプリのケーションの立ち上げ

①アプリケーションを保存するためのディレクトリを作成

ホームディレクトリから新規フォルダで適当な名前のディレクトリを作成する

②新規のrailsアプリケーションを作成

cd ①のディレクトリ
#①のディレクトリに移動する

rails railsのバージョン new Career_up -d mysql
#railsのバージョンを指定して、Career_upを作成

cd Career_up
#Career_upのディレクトリに移動する

pwd
#現在のディレクトリに移動

③データベースを作成

rails db:create
#データベースを作成する

④アプリのケーションの立ち上げ

cd Career_up
#Career_upのディレクトリに移動する

rails s
#Career_upのディレクトリ上記のコマンドを打つ

以上です

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0