LoginSignup
9
7

More than 5 years have passed since last update.

git clone から rails s までの5ステップ

Posted at

(ほぼ自分用メモです)

新規ではなく、動くものがすでGitHubにあがっているRailsプロジェクトをcloneしてローカルで動かすための5ステップ。
ローカルにRails自体が動く環境ができている=Yay! You're on Rails!が表示できる状態であることが前提。
gitコマンドが使える状態なのも前提。

$ git clone https://github.com/<user_name>/<project_name>.git
$ cd <project_dir>
$ bundle install
$ bin/rails db:migrate
$ bin/rails s
9
7
3

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
9
7