diff --git a/README.md b/README.md index 9827f513..bb08b8f0 100644 --- a/README.md +++ b/README.md @@ -88,11 +88,10 @@ $ python manage.py runserver ``` $ heroku apps:create django-vue-template-demo +$ heroku git:remote --app django-vue-template-demo $ heroku buildpacks:add --index 1 heroku/nodejs $ heroku buildpacks:add --index 2 heroku/python -$ heroku git:remote --app django-vue-template-demo $ heroku addons:create heroku-postgresql:hobby-dev -$ heroku config:set YARN_PRODUCTION=true $ heroku config:set DJANGO_SETTINGS_MODULE=project.settings.prod $ git push heroku diff --git a/app.json b/app.json index 4fcaabed..cd89198a 100644 --- a/app.json +++ b/app.json @@ -4,10 +4,6 @@ "repository": "https://github.com/gtalarico/django-vue-template", "keywords": ["django", "vue", "vuejs", "template", "django rest framework"], "env": { - "YARN_PRODUCTION": { - "description": "Install Yarn Dependencies", - "value": "true" - }, "DJANGO_SETTINGS_MODULE": { "description": "Set Django Settings to Production", "value": "project.settings.prod" diff --git a/project/settings/prod.py b/project/settings/prod.py index 1692d3d0..3dd83c4b 100644 --- a/project/settings/prod.py +++ b/project/settings/prod.py @@ -19,5 +19,5 @@ ############ DEBUG = False -# Set to your Domain -ALLOWED_HOSTS = ['django-vue-template-demo.herokuapp.com'] +# Set to your Domain here (eg. 'django-vue-template-demo.herokuapp.com') +ALLOWED_HOSTS = ['*']