LoginSignup
0
0

More than 5 years have passed since last update.

heroku ログインからアップロードまで

Last updated at Posted at 2018-08-12

HEROKU ログインからアップロードまで

 HEROKUの使いかたのメモ

ログイン

terminal上で、heroku login
e-mail
 passwordを入力

git hubにアップ

git init リポジトリを作成する
git add ファイル名 管理するファイルを指定する
git add . 全てのファイルを指定
git commit -m" " ファイルをコミットする

HEROKUに同期

git push heroku master

HEROKUでmigrate

git push heroku master でマイグレーションファイルをHEROKUにアップしてから、
HEROKU上でもmigrate
heroku run bundle exec rake db:migrate

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