mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
added Heroku SENDGRID deploy docs, makes more explicit deploy instructions and add links to relevant projects
This commit is contained in:
parent
f12e54ce6e
commit
3d75936e9f
22
README.rst
22
README.rst
|
@ -9,15 +9,25 @@ Features
|
|||
---------
|
||||
|
||||
* For Django 1.6
|
||||
* Twitter Bootstrap 3
|
||||
* AngularJS
|
||||
* Settings management via django-configurations
|
||||
* Registration via django-allauth
|
||||
* User avatars via django-avatar
|
||||
* Procfile for deploying to Heroku
|
||||
* Twitter Bootstrap_ 3
|
||||
* AngularJS_
|
||||
* Settings management via django-configurations_
|
||||
* Registration via django-allauth_
|
||||
* User avatars via django-avatar_
|
||||
* Procfile_ for deploying to Heroku
|
||||
* Heroku optimized requirements
|
||||
* Basic caching setup
|
||||
* Grunt build for compass and livereload
|
||||
* Basic e-mail configurations for send emails via SendGrid_
|
||||
|
||||
.. _Bootstrap: https://github.com/twbs/bootstrap
|
||||
.. _AngularJS: https://github.com/angular/angular.js
|
||||
.. _django-configurations: https://github.com/jezdez/django-configurations
|
||||
.. _django-allauth: https://github.com/pennersr/django-allauth
|
||||
.. _django-avatar: https://github.com/jezdez/django-avatar/
|
||||
.. _Procfile: https://devcenter.heroku.com/articles/procfile
|
||||
.. _SendGrid: https://sendgrid.com/
|
||||
|
||||
|
||||
Constraints
|
||||
-----------
|
||||
|
|
|
@ -95,12 +95,15 @@ Run these commands to deploy the project to Heroku:
|
|||
heroku addons:add memcachier:dev
|
||||
heroku pg:promote HEROKU_POSTGRESQL_COLOR
|
||||
heroku config:set DJANGO_CONFIGURATION=Production
|
||||
heroku config:set DJANGO_SECRET_KEY=RANDOM_SECRET_KEY
|
||||
heroku config:set DJANGO_AWS_ACCESS_KEY_ID=YOUR_ID
|
||||
heroku config:set DJANGO_AWS_SECRET_ACCESS_KEY=YOUR_KEY
|
||||
heroku config:set DJANGO_AWS_STORAGE_BUCKET_NAME=YOUR_BUCKET_NAME
|
||||
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
|
||||
heroku config:set DJANGO_AWS_STORAGE_BUCKET_NAME=YOUR_AWS_S3_BUCKET_NAME_HERE
|
||||
heroku config:set SENDGRID_USERNAME=YOUR_SENDGRID_USERNAME_HERE
|
||||
heroku config:set SENDGRID_PASSWORD=YOUR_SENDGRID_PASSWORD_HERE
|
||||
git push heroku master
|
||||
heroku run python {{cookiecutter.repo_name}}/manage.py syncdb
|
||||
heroku run python {{cookiecutter.repo_name}}/manage.py migrate
|
||||
heroku run python {{cookiecutter.repo_name}}/manage.py syncdb --noinput --settings=config.settings
|
||||
heroku run python {{cookiecutter.repo_name}}/manage.py migrate --noinput --settings=config.settings
|
||||
heroku run python {{cookiecutter.repo_name}}/manage.py createsuperuser
|
||||
heroku open
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user