Skip to content

Commit

Permalink
Merge pull request #28 from egc-sierrezuela-3/feature/votacion-26
Browse files Browse the repository at this point in the history
DESPLIEGUE HEROKU
  • Loading branch information
raupargor authored Dec 21, 2021
2 parents c051bac + aba10d1 commit 3896bbd
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion decide/decide/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"""

import os
import django_heroku

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Expand Down Expand Up @@ -72,6 +73,18 @@

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

APIS = {
'authentication': BASEURL,
'base': BASEURL,
'booth': BASEURL,
'census': BASEURL,
'mixnet': BASEURL,
'postproc': BASEURL,
'store': BASEURL,
'visualizer': BASEURL,
'voting': BASEURL,
}

MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
Expand Down Expand Up @@ -181,6 +194,8 @@

INSTALLED_APPS = INSTALLED_APPS + MODULES

NOSE_ARGS = [
'--with-xunit'
]

import django_heroku
django_heroku.settings(locals(),test_runner=False)

0 comments on commit 3896bbd

Please sign in to comment.