mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 16:24:14 +03:00
Merge pull request #100 from luzfcb/missing-docs
Added missing docs and others
This commit is contained in:
commit
7777efd9b1
22
README.rst
22
README.rst
|
@ -9,15 +9,25 @@ Features
|
||||||
---------
|
---------
|
||||||
|
|
||||||
* For Django 1.6
|
* For Django 1.6
|
||||||
* Twitter Bootstrap 3
|
* Twitter Bootstrap_ 3
|
||||||
* AngularJS
|
* AngularJS_
|
||||||
* Settings management via django-configurations
|
* Settings management via django-configurations_
|
||||||
* Registration via django-allauth
|
* Registration via django-allauth_
|
||||||
* User avatars via django-avatar
|
* User avatars via django-avatar_
|
||||||
* Procfile for deploying to Heroku
|
* Procfile_ for deploying to Heroku
|
||||||
* Heroku optimized requirements
|
* Heroku optimized requirements
|
||||||
* Basic caching setup
|
* Basic caching setup
|
||||||
* Grunt build for compass and livereload
|
* 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
|
Constraints
|
||||||
-----------
|
-----------
|
||||||
|
|
|
@ -93,14 +93,17 @@ Run these commands to deploy the project to Heroku:
|
||||||
heroku addons:add pgbackups:auto-month
|
heroku addons:add pgbackups:auto-month
|
||||||
heroku addons:add sendgrid:starter
|
heroku addons:add sendgrid:starter
|
||||||
heroku addons:add memcachier:dev
|
heroku addons:add memcachier:dev
|
||||||
heroku pg:promote HEROKU_POSTGRESQL_COLOR
|
heroku pg:promote DATABASE_URL
|
||||||
heroku config:set DJANGO_CONFIGURATION=Production
|
heroku config:set DJANGO_CONFIGURATION=Production
|
||||||
heroku config:set DJANGO_SECRET_KEY=RANDOM_SECRET_KEY
|
heroku config:set DJANGO_SECRET_KEY=RANDOM_SECRET_KEY_HERE
|
||||||
heroku config:set DJANGO_AWS_ACCESS_KEY_ID=YOUR_ID
|
heroku config:set DJANGO_AWS_ACCESS_KEY_ID=YOUR_AWS_ID_HERE
|
||||||
heroku config:set DJANGO_AWS_SECRET_ACCESS_KEY=YOUR_KEY
|
heroku config:set DJANGO_AWS_SECRET_ACCESS_KEY=YOUR_AWS_SECRET_ACCESS_KEY_HERE
|
||||||
heroku config:set DJANGO_AWS_STORAGE_BUCKET_NAME=YOUR_BUCKET_NAME
|
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
|
git push heroku master
|
||||||
heroku run python {{cookiecutter.repo_name}}/manage.py syncdb
|
heroku run python {{cookiecutter.repo_name}}/manage.py syncdb --noinput --settings=config.settings
|
||||||
heroku run python {{cookiecutter.repo_name}}/manage.py migrate
|
heroku run python {{cookiecutter.repo_name}}/manage.py migrate --noinput --settings=config.settings
|
||||||
heroku run python {{cookiecutter.repo_name}}/manage.py createsuperuser
|
heroku run python {{cookiecutter.repo_name}}/manage.py createsuperuser
|
||||||
heroku open
|
heroku open
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user