mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
Heroku deployment instructions
This commit is contained in:
parent
3bf5a98d00
commit
e06772eec4
|
@ -5,3 +5,19 @@
|
|||
|
||||
|
||||
LICENSE: MIT
|
||||
|
||||
Deployment
|
||||
------------
|
||||
|
||||
* heroku create
|
||||
* heroku addons:add heroku-postgresql:dev
|
||||
* heroku addons:add pgbackups
|
||||
* heroku addons:add sendgrid:starter
|
||||
* heroku pg:promote HEROKU_POSTGRESQL_COLOR
|
||||
* heroku config:add AWS_ACCESS_KEY_ID=YOUR_ID
|
||||
* heroku config:add AWS_SECRET_ACCESS_KEY=YOUR_KEY
|
||||
* heroku config:add AWS_STORAGE_BUCKET_NAME=BUCKET
|
||||
* git push heroku master
|
||||
* heroku run python {{cookiecutter.repo_name}}/manage.py syncdb --noinput --settings=config.settings
|
||||
* heroku run python {{cookiecutter.repo_name}}/manage.py migrate --settings=config.settings
|
||||
* heroku run python {{cookiecutter.repo_name}}/manage.py collectstatic --settings=config.settings
|
Loading…
Reference in New Issue
Block a user