LoginSignup
18
18

More than 5 years have passed since last update.

HerokuとDropboxを連携する方法

Last updated at Posted at 2014-12-03

先日herokuからDropboxとのリンクができるようになったということなので、そのメモ
ただし、BETA版です。

手順

  1. Dropboxとリンクする
  2. Appを更新
  3. デプロイ

1. Dropboxとリンクする

  1. herokuのダッシュボードにアクセス
  2. リンクしたいアプリを選択(なければ作成)
  3. Code タブを選択
  4. 下方にあるDropbox BETA の Connect to Dropbox をクリック
  5. Dropboxで権限を許可

    Dropbox/アプリ/Heroku/app-name

のディレクトリが作成される

2. Appを更新

Dropboxを同期していれば

Dropbox/アプリ/Heroku/app-name

にあるファイルを更新するだけです。

3. デプロイ

You have to click the “Deploy” button in Heroku dashboard when you want to deploy changes, changes are not automatically synced.

Dropboxに同期していても、自動でherokuには反映してくれません。

そのため、更新が終わったら手動でのデプロイが必要です。

  1. herokuのダッシュボードにアクセス
  2. デプロイしたいアプリを選択
  3. Code タブを選択
  4. 下方にあるテキストボックスにコミットメッセージを入力
  5. Deploy をクリック

で、反映されます。

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