mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-16 08:13:10 +00:00
fix(heroku): replace depreciated pgbackups addon with pg:backups
https://devcenter.heroku.com/articles/heroku-postgres-backups#scheduling-backups
This commit is contained in:
parent
0f8f564790
commit
815fa26611
1 changed files with 2 additions and 2 deletions
|
|
@ -95,10 +95,10 @@ Run these commands to deploy the project to Heroku:
|
|||
|
||||
heroku create --buildpack https://github.com/heroku/heroku-buildpack-python
|
||||
heroku addons:add heroku-postgresql:dev
|
||||
heroku addons:add pgbackups:auto-month
|
||||
heroku pg:backups schedule DATABASE_URL
|
||||
heroku pg:promote DATABASE_URL
|
||||
heroku addons:add sendgrid:starter
|
||||
heroku addons:add memcachier:dev
|
||||
heroku pg:promote DATABASE_URL
|
||||
heroku config:set DJANGO_SECRET_KEY=RANDOM_SECRET_KEY_HERE
|
||||
heroku config:set DJANGO_AWS_ACCESS_KEY_ID=YOUR_AWS_ID_HERE
|
||||
heroku config:set DJANGO_AWS_SECRET_ACCESS_KEY=YOUR_AWS_SECRET_ACCESS_KEY_HERE
|
||||
|
|
|
|||
Loading…
Reference in a new issue