mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 16:24:14 +03: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
|
@ -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 New Issue
Block a user