Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
[![Build Status](https://travis-ci.com/wadobo/decide.svg?branch=master)](https://travis-ci.com/wadobo/decide) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/94a85eaa0e974c71af6899ea3b0d27e0)](https://www.codacy.com/app/Wadobo/decide?utm_source=github.com&utm_medium=referral&utm_content=wadobo/decide&utm_campaign=Badge_Grade) [![Codacy Badge](https://api.codacy.com/project/badge/Coverage/94a85eaa0e974c71af6899ea3b0d27e0)](https://www.codacy.com/app/Wadobo/decide?utm_source=github.com&utm_medium=referral&utm_content=wadobo/decide&utm_campaign=Badge_Coverage)

<<<<<<< HEAD

UN CAMBIO!
=======
UN CAMBIO
>>>>>>> 108181781834499f72c68c5ad22bebb67c530bde
Plataforma voto electrónico educativa
=====================================

Expand Down
8 changes: 1 addition & 7 deletions decide/local_settings.example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@

# Modules in use, commented modules that you won't use
MODULES = [
'authentication',
'base',
'booth',
'census',
'mixnet',
'postproc',
'store',
'visualizer',
'voting',
Expand All @@ -25,7 +19,7 @@
'voting': 'http://10.5.0.1:8000',
}

BASEURL = 'http://10.5.0.1:8000'
BASEURL = 'localhost'

DATABASES = {
'default': {
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from python:alpine
from python:3.7-alpine

RUN apk add --no-cache git postgresql-dev gcc libc-dev
RUN apk add --no-cache gcc g++ make libffi-dev python3-dev build-base
Expand All @@ -10,7 +10,7 @@ RUN pip install ipython

WORKDIR /app

RUN git clone https://github.com/wadobo/decide.git .
RUN git clone https://github.com/ferlopmor1/decide.git .
RUN pip install -r requirements.txt

WORKDIR /app/decide
Expand Down
4 changes: 3 additions & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ services:
db:
restart: always
container_name: decide_db
image: postgres:alpine
image: postgres:10.15-alpine
volumes:
- db:/var/lib/postgresql/data
networks:
- decide
environment:
- POSTGRES_PASSWORD= postgres
web:
restart: always
container_name: decide_web
Expand Down
1 change: 1 addition & 0 deletions docker/docker-settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'postgres',
'USER': 'postgres',
'PASSWORD':'postgres',
'HOST': 'db',
'PORT': 5432,
}
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ djangorestframework==3.7.7
django-cors-headers==2.1.0
requests==2.18.4
django-filter==1.1.0
psycopg2==2.7.4
psycopg2-binary==2.7.4
django-rest-swagger==2.2.0
coverage==4.5.2
django-nose==1.4.6
Expand Down