Update deployment-on-heroku.rst

This commit is contained in:
Patrick Tran 2023-01-24 14:51:20 -08:00 committed by GitHub
parent f45940ebc7
commit 66b3468828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,16 +12,12 @@ Run these commands to deploy the project to Heroku:
heroku create --buildpack heroku/python
# Note: heroku no longer has a free tier postgres. See below for tiers
# https://elements.heroku.com/addons/heroku-postgresql
heroku addons:create heroku-postgresql:mini
# 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
heroku pg:promote DATABASE_URL
# Note: heroku no longer has a free tier redis. See below for tiers
# https://elements.heroku.com/addons/heroku-redis#pricing
heroku addons:create heroku-redis:mini
# Assuming you chose Mailgun as mail service (see below for others)