From caae3ce2057b1beb0ea70fd55e1a3fb3cc74d2cc Mon Sep 17 00:00:00 2001 From: Patrick Tran Date: Tue, 17 Sep 2024 14:46:45 -0700 Subject: [PATCH] Update deployment-on-heroku.rst (#5383) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This option is now longer valid ``` $ heroku addons:create heroku-postgresql:mini › Warning: heroku update available from 8.11.5 to 9.2.1. Creating heroku-postgresql:mini on ⬢ location-tracker... ! ▸ We tried to create heroku-postgresql:mini, but received an error from the add-on provider. Try the request again, or log a support ticket and include ▸ this message: The mini plan has reached end-of-life. You can try again with a valid plan. See the available plans with: heroku addons:plans ▸ heroku-postgresql. ``` The next cheapest heroku option is "essentials-0" ``` $ heroku addons:create heroku-postgresql:essential-0 › Warning: heroku update available from 8.11.5 to 9.2.1. Creating heroku-postgresql:essential-0 on ⬢ location-tracker... ~$0.007/hour (max $5/month) Database should be available soon postgresql-silhouetted-14783 is being created in the background. The app will restart when complete... Use heroku addons:info postgresql-silhouetted-14783 to check creation progress Use heroku addons:docs heroku-postgresql to view documentation ``` documentation: https://elements.heroku.com/addons/heroku-postgresql --- docs/deployment-on-heroku.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/deployment-on-heroku.rst b/docs/deployment-on-heroku.rst index fdd953e0..f5808449 100644 --- a/docs/deployment-on-heroku.rst +++ b/docs/deployment-on-heroku.rst @@ -12,7 +12,8 @@ Run these commands to deploy the project to Heroku: heroku create --buildpack heroku/python - heroku addons:create heroku-postgresql:mini + # Note: this is not a free plan + heroku addons:create heroku-postgresql:essential-0 # On Windows use double quotes for the time zone, e.g. # heroku pg:backups schedule --at "02:00 America/Los_Angeles" DATABASE_URL heroku pg:backups schedule --at '02:00 America/Los_Angeles' DATABASE_URL