This commit is contained in:
littlewolf 2019-11-15 17:05:30 +03:00
parent c872cdd4bc
commit c2649324e9
5 changed files with 7 additions and 9 deletions

View File

@ -1 +1 @@
{"240": {"code": "15", "name": "Korinthia", "region": "J", "country": "GR"}, "5180": {"code": "17", "name": "Messinia", "region": "J", "country": "GR"}, "5181": {"code": "16", "name": "Lakonia", "region": "J", "country": "GR"}, "5182": {"code": "11", "name": "Argolida", "region": "J", "country": "GR"}, "5183": {"code": "11", "name": "Argolida", "region": "J", "country": "GR"}, "5184": {"code": "03", "name": "Voiotia", "region": "H", "country": "GR"}, "5185": {"code": "04", "name": "Evvoias", "region": "H", "country": "GR"}} {"5174": {"code": "15", "name": "Korinthia", "region": "J", "country": "GR"}, "5175": {"code": "17", "name": "Messinia", "region": "J", "country": "GR"}, "5176": {"code": "16", "name": "Lakonia", "region": "J", "country": "GR"}, "5177": {"code": "11", "name": "Argolida", "region": "J", "country": "GR"}, "5178": {"code": "11", "name": "Argolida", "region": "J", "country": "GR"}, "5179": {"code": "03", "name": "Voiotia", "region": "H", "country": "GR"}, "5180": {"code": "04", "name": "Evvoias", "region": "H", "country": "GR"}}

View File

@ -228,7 +228,7 @@ Utils functions defined before transfer functions
""" """
def get_ruby_socket(type, params): def get_ruby_socket(type, params):
url = 'http://172.22.0.1:5678' # docker host url = 'http://172.21.0.1:5678' # docker host
params["type"] = type params["type"] = type
response = get(url, params=params) response = get(url, params=params)

View File

@ -16,7 +16,7 @@ class Command(BaseCommand):
'recipe', 'recipe',
'partner', 'partner',
'establishment', # №3 - перенос заведений 'establishment', # №3 - перенос заведений
'gallery', 'gallery', #!!!!
'commercial', # перенос рекламмы (очередность не важна) 'commercial', # перенос рекламмы (очередность не важна)
'overlook', # №5 - перенос языков, отзывов 'overlook', # №5 - перенос языков, отзывов
'tmp', 'tmp',
@ -28,7 +28,7 @@ class Command(BaseCommand):
LONG_DATA_TYPES = [ LONG_DATA_TYPES = [
'update_country_flag', 'update_country_flag',
'comment', 'comment', #!!!!
'inquiries', # №6 - перенос запросов оценок 'inquiries', # №6 - перенос запросов оценок
'wine_characteristics', 'wine_characteristics',
'product', 'product',

View File

@ -13,7 +13,7 @@ services:
MYSQL_ROOT_PASSWORD: rootPassword MYSQL_ROOT_PASSWORD: rootPassword
volumes: volumes:
- gm-mysql_db:/var/lib/mysql - gm-mysql_db:/var/lib/mysql
- .:/code
# PostgreSQL database # PostgreSQL database
db: db:

View File

@ -36,16 +36,14 @@ THUMBNAIL_DEBUG = True
# ADDED TRANSFER APP # ADDED TRANSFER APP
# INSTALLED_APPS.append('transfer.apps.TransferConfig') INSTALLED_APPS.append('transfer.apps.TransferConfig')
# DATABASES # DATABASES
DATABASES.update({ DATABASES.update({
'legacy': { 'legacy': {
'ENGINE': 'django.db.backends.mysql', 'ENGINE': 'django.db.backends.mysql',
'HOST': '172.17.0.1', 'HOST': 'mysql_db',
# 'HOST': '172.23.0.1',
# 'HOST': 'mysql_db',
'PORT': 3306, 'PORT': 3306,
'NAME': 'dev', 'NAME': 'dev',
'USER': 'dev', 'USER': 'dev',