This commit is contained in:
Saurabh Kumar 2014-03-12 02:14:46 +00:00
commit a775c021ce
3 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
web: gunicorn --pythonpath="$PWD/{{cookiecutter.repo_name}}" config.wsgi:application
web: gunicorn --pythonpath="$PWD/{{cookiecutter.project_name}}" config.wsgi:application

View File

@ -75,7 +75,7 @@ Run these commands to deploy the project to Heroku:
heroku config:set DJANGO_AWS_SECRET_ACCESS_KEY=YOUR_KEY
heroku config:set DJANGO_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
heroku run python {{cookiecutter.project_name}}/manage.py syncdb --noinput --settings=config.settings
heroku run python {{cookiecutter.project_name}}/manage.py migrate --settings=config.settings
heroku run python {{cookiecutter.project_name}}/manage.py collectstatic --settings=config.settings

View File

@ -117,7 +117,7 @@ class Common(Configuration):
########## DATABASE CONFIGURATION
# See: https://docs.djangoproject.com/en/dev/ref/settings/#databases
DATABASES = values.DatabaseURLValue('postgres://localhost/{{cookiecutter.repo_name}}')
DATABASES = values.DatabaseURLValue('postgres://localhost/{{cookiecutter.project_name}}')
########## END DATABASE CONFIGURATION
########## CACHING