LAW-3116 Setup new DEMO environment

This commit is contained in:
g
2020-01-29 12:27:00 +03:00
parent 127322e526
commit 27b15089bc
4 changed files with 37 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
######FOR TEST DEMO ENV
update wp_options set option_value = "https://demo.lawcarta.com" where option_id = 1 limit 1;
update wp_options set option_value = "https://demo.lawcarta.com" where option_id = 2 limit 1;
update wp_2_options set option_value = "https://demo.livecarta.com" where option_id = 1 limit 1;
update wp_2_options set option_value = "https://demo.lawcarta.com/livecarta" where option_id = 2 limit 1;
update wp_blogs set domain = "demo.lawcarta.com" where blog_id = 1 limit 1;
update wp_blogs set domain = "demo.lawcarta.com" where blog_id = 2 limit 1;
update wp_domain_mapping set domain = "demo.livecarta.com" where blog_id = 2 limit 1;
update wp_site set domain = "demo.lawcarta.com" where id =1 limit 1;

View File

@@ -0,0 +1,16 @@
<?php
define( 'DB_NAME', '@lcWpMySqlDbnameDemo@' );
define( 'DB_USER', '@lcWpMySqlUsernameDemo@' );
define( 'DB_PASSWORD', '@lcWpMySqlPasswordDemo@' );
define( 'DB_HOST', '@lcWpMySqlHostDemo@' );
define('DOMAIN_CURRENT_SITE', 'demo.lawcarta.com');
define('LAWCARTA_SUBDOMAIN', 'app-demo');
define('LAWCARTA_PORT', '');
define('LAWCARTA_WP_REST_API_REQUEST_URL', 'https://app-demo.lawcarta.com/v1/event/request');
define('LAWCARTA_WP_REST_API_RESPONSE_URL', 'https://app-demo.lawcarta.com/v1/event/response');
$_SERVER['HTTPS'] = 'On';