prod server aufsetzen
							parent
							
								
									48febbb3e1
								
							
						
					
					
						commit
						5dcd7e17be
					
				|  | @ -1,3 +1,5 @@ | ||||||
| #!/bin/bash | #!/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 | ||||||
|  |  | ||||||
|  | @ -52,4 +52,7 @@ ENVIRONMENTS = { | ||||||
|     # Do not store them here, you have to type them anyway! |     # Do not store them here, you have to type them anyway! | ||||||
|     'test': Environment('https://erp.tzaustria.info', '443', 'odoo-test', 'admin', config = ConfigTZA()), |     '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()), |     '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()), | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -2,8 +2,12 @@ | ||||||
| from __future__ import print_function | from __future__ import print_function | ||||||
| import base64 | import base64 | ||||||
| import sys | import sys | ||||||
|  | import ssl | ||||||
|  | 
 | ||||||
| import odoorpc | import odoorpc | ||||||
| 
 | 
 | ||||||
|  | ssl._create_default_https_context = ssl._create_unverified_context | ||||||
|  | 
 | ||||||
| try: | try: | ||||||
|     from urllib.parse import urlparse |     from urllib.parse import urlparse | ||||||
| except ImportError: | except ImportError: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue