diff --git a/README.md b/README.md index 83d0a57e27..a71f5f849e 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ votaciĆ³n, por lo que prima la simplicidad por encima de la eficiencia cuando sea posible. Por lo tanto se asumen algunas carencias para permitir que sea entendible y extensible. +Cambio realizado segunda vez. Subsistemas, apps y proyecto base --------------------------------- diff --git a/decide/local_settings.py b/decide/local_settings.py new file mode 100644 index 0000000000..b6f5dd1b0d --- /dev/null +++ b/decide/local_settings.py @@ -0,0 +1,42 @@ +ALLOWED_HOSTS = ["*"] + +# Modules in use, commented modules that you won't use +MODULES = [ + 'authentication', + 'base', + 'booth', + 'census', + 'mixnet', + 'postproc', + 'store', + 'visualizer', + 'voting', +] + +APIS = { + 'authentication': 'http://localhost:8000', + 'base': 'http://localhost:8000', + 'booth': 'http://localhost:8000', + 'census': 'http://localhost:8000', + 'mixnet': 'http://localhost:8000', + 'postproc': 'http://localhost:8000', + 'store': 'http://localhost:8000', + 'visualizer': 'http://localhost:8000', + 'voting': 'http://localhost:8000', +} + +BASEURL = 'http://localhost:8000' + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.postgresql', + 'NAME': 'postgres', + 'USER': 'decide', + 'PASSWORD': 'complexpassword', + 'HOST': '127.0.0.1', + 'PORT': '5432', + } +} + +# number of bits for the key, all auths should use the same number of bits +KEYBITS = 256