-
-
Notifications
You must be signed in to change notification settings - Fork 6
デプロイ
Yoshiyuki Sakamoto edited this page Aug 5, 2019
·
4 revisions
heroku login
$ heroku pg:psql --app lgtmoon-beta < sql/init/1_create.sql
--> Connecting to postgresql-cylindrical-20947
CREATE TABLE
CREATE INDEX
DBの接続先とか
heroku git:remote -a lgtmoon
git remote -v
2回目以降
git branch -D deploy
git fetch heroku
git checkout heroku/master
git checkout -b deploy
git checkout merge master
git push heroku deploy:master