1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Railsで新規作成

Posted at

いや、何回もしてるんですけど、改めてね。
####ターミナル

cd ~/(ファイル名)

rails _6.0.0_ new (アプリ名) -d mysql

config/database.yml
データの保存形式変更(人によるかと)

# encoding: utf8mb4
encoding: utf8

DB作成

rails db:create

ローカルで動作確認

rails s

とりあえずこれがスタートライン!
後々、付け足します。

1
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?