Avances en sistema de deployment y configuracion.
This commit is contained in:
parent
25e52a9e25
commit
9a7ba03cd9
11 changed files with 1054 additions and 215 deletions
|
|
@ -1,16 +1,12 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
sys.path.append('..')
|
||||
import mysql.connector
|
||||
from core.alerts import alert_master
|
||||
from core.config import current_db_parameters
|
||||
|
||||
anuncios_db_parameters = {'host': '185.166.215.170',
|
||||
'database': 'anuncios',
|
||||
'user': 'drogon',
|
||||
'password': 'noesfacilvivirsindrogon'}
|
||||
|
||||
tasks_db_parameters = {'host': '185.166.215.170',
|
||||
'database': 'tasks',
|
||||
'user': 'drogon',
|
||||
'password': 'noesfacilvivirsindrogon'}
|
||||
anuncios_db_parameters = current_db_parameters.update({'database': 'anuncios'})
|
||||
tasks_db_parameters = current_db_parameters.update({'database': 'tasks'})
|
||||
|
||||
class DatabaseWrapper():
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue