Skip to content

Commit

Permalink
#9 - Modifying deploy in heroku.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronyell committed Sep 8, 2017
1 parent caaad25 commit cee3cdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion EmbelezaMais/EmbelezaMais/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['embelezamais.herokuapp.com','localhost:8000']


# Application definition
Expand Down
3 changes: 1 addition & 2 deletions Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
web: gunicorn djangobasico.wsgi --log-file -
python3 EmbelezaMais/manage.py makemigrations && python3 EmbelezaMais/manage.py migrate
web: cd EmbelezaMais && python3 manage.py makemigrations && python3 manage.py migrate && gunicorn EmbelezaMais.wsgi --log-file -

0 comments on commit cee3cdf

Please sign in to comment.