Commit e8e3a9d2b9fe520347cdf4a63f627be02ca8485b

Authored by André Araújo
1 parent ff71c8f3
Exists in master

Atualiza template de configuração

.gitignore
... ... @@ -2,6 +2,7 @@
2 2 !*.gitignore
3 3 !*.gitempty
4 4 *~
  5 +*.bak
5 6 *.conf
6 7 *.coverage
7 8 *.db
... ...
settings_local.py
... ... @@ -1,21 +0,0 @@
1   -# -*- coding: utf-8 -*-
2   -# WikiLibras Server Configuration
3   -SERVER_HOST = "150.165.204.35"
4   -SERVER_PORT = 8003
5   -AGREEMENT_NUMBER = 2
6   -API_HOST = "http://150.165.204.35:201"
7   -API_DB_HOST = "http://150.165.204.35:200"
8   -UPLOAD_SIGN_HOST = "http://150.165.204.35:200/addsinal"
9   -HOMEPAGE_URL = "http://wikilibras.lavid.ufpb.br"
10   -
11   -# Apache Configuration
12   -APACHE_HOST = True
13   -APACHE_HOST_ENDPOINT = "/wikilibras-backend"
14   -APACHE_STATIC_FILES_ENDPOINT = "/wikilibras"
15   -
16   -# PyBossa Configuration
17   -PYBOSSA_APP_NAME = "WikiLibras"
18   -PYBOSSA_APP_SHORT_NAME = "wikilibras"
19   -PYBOSSA_APP_DESCRIPTION = "Esse projeto possibilitará que voluntários contribuam na expansão de um dicionário de LIBRAS."
20   -PYBOSSA_ENDPOINT = "http://150.165.204.35/pybossa"
21   -PYBOSSA_API_KEY = "0176e74e-4f70-45ef-bc75-6c6ebae8d170"
settings_local.py.tmpl
... ... @@ -3,12 +3,13 @@
3 3 SERVER_HOST = "localhost"
4 4 SERVER_PORT = 8003
5 5 AGREEMENT_NUMBER = 2
6   -API_HOST = "http://localhost:5001"
7   -UPLOAD_SIGN_HOST = "http://150.165.205.112:3000/addsinal"
8   -HOMEPAGE_URL = "http://150.165.205.112"
  6 +API_HOST = "http://localhost:201"
  7 +API_DB_HOST = "http://localhost:200"
  8 +UPLOAD_SIGN_HOST = "http://localhost:200/addsinal"
  9 +HOMEPAGE_URL = "http://localhost"
9 10  
10 11 # Apache Configuration
11   -APACHE_HOST = False
  12 +APACHE_HOST = True
12 13 APACHE_HOST_ENDPOINT = "/wikilibras-backend"
13 14 APACHE_STATIC_FILES_ENDPOINT = "/wikilibras"
14 15  
... ... @@ -16,5 +17,5 @@ APACHE_STATIC_FILES_ENDPOINT = "/wikilibras"
16 17 PYBOSSA_APP_NAME = "WikiLibras"
17 18 PYBOSSA_APP_SHORT_NAME = "wikilibras"
18 19 PYBOSSA_APP_DESCRIPTION = "Esse projeto possibilitará que voluntários contribuam na expansão de um dicionário de LIBRAS."
19   -PYBOSSA_ENDPOINT = "http://localhost:201"
  20 +PYBOSSA_ENDPOINT = "http://localhost/pybossa"
20 21 PYBOSSA_API_KEY = "my-api-key"
21 22 \ No newline at end of file
... ...