Skip to content

Commit

Permalink
Merge pull request #27 from egc-sierrezuela-3/feature/votacion-26
Browse files Browse the repository at this point in the history
Feature/votacion 26
  • Loading branch information
raupargor authored Dec 21, 2021
2 parents c514697 + 3214856 commit c051bac
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
% prepara el repositorio para su despliegue.
release: sh -c 'cd decide && python manage.py migrate'
% especifica el comando para lanzar Decide
web: sh -c 'cd decide && gunicorn decide.wsgi --log-file -'
6 changes: 5 additions & 1 deletion decide/decide/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
'voting',
]

BASEURL = 'http://localhost:8000'
BASEURL = 'https://decide-part-sierrezuela-3.herokuapp.com'

MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
Expand Down Expand Up @@ -180,3 +180,7 @@


INSTALLED_APPS = INSTALLED_APPS + MODULES


import django_heroku
django_heroku.settings(locals(),test_runner=False)
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ django-rest-swagger==2.2.0
coverage==4.5.2
django-nose==1.4.6
jsonnet==0.12.1
gunicorn
django-heroku
1 change: 1 addition & 0 deletions runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.7.12

0 comments on commit c051bac

Please sign in to comment.