Skip to content

Commit

Permalink
Remove YARN PRODUCTION
Browse files Browse the repository at this point in the history
  • Loading branch information
gtalarico committed Aug 10, 2018
1 parent 206cd58 commit 84f7544
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions project/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ['*']

0 comments on commit 84f7544

Please sign in to comment.