diff --git a/EmbelezaMais/EmbelezaMais/settings.py b/EmbelezaMais/EmbelezaMais/settings.py index 2e6a855..58463c9 100644 --- a/EmbelezaMais/EmbelezaMais/settings.py +++ b/EmbelezaMais/EmbelezaMais/settings.py @@ -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 diff --git a/Procfile b/Procfile index d3a629e..aeb6d92 100644 --- a/Procfile +++ b/Procfile @@ -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 -