prod server aufsetzen

develop
Ahmed Aly 2018-03-21 11:26:33 +01:00
parent 48febbb3e1
commit 5dcd7e17be
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#!/bin/bash
ssh -p 3335 odoo-test@5.9.67.35
PORT=9002
echo "Zugriff: http://localhost:$PORT"
ssh -p 3335 odoo-prod@5.9.67.35 -L $PORT:localhost:8070

View File

@ -52,4 +52,7 @@ ENVIRONMENTS = {
# Do not store them here, you have to type them anyway!
'test': Environment('https://erp.tzaustria.info', '443', 'odoo-test', 'admin', config = ConfigTZA()),
'test-glaser': Environment('https://erp.tzaustria.info', '443', 'odoo-test', 'glaser-admin', config = ConfigGlaser()),
'prod': Environment('http://localhost', '9002', 'odoo-prod', 'admin', config = ConfigTZA()),
'prod-glaser': Environment('http://localhost', '9002', 'odoo-prod', 'glaser-admin', config = ConfigGlaser()),
}

View File

@ -2,8 +2,12 @@
from __future__ import print_function
import base64
import sys
import ssl
import odoorpc
ssl._create_default_https_context = ssl._create_unverified_context
try:
from urllib.parse import urlparse
except ImportError: