forked from LiveCarta/LiveCartaWP
LAW-3116 Setup new DEMO environment
This commit is contained in:
14
environments/demo/domain_db_fix.sql
Normal file
14
environments/demo/domain_db_fix.sql
Normal 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;
|
||||
16
environments/demo/wp-config-local.php
Normal file
16
environments/demo/wp-config-local.php
Normal 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';
|
||||
Reference in New Issue
Block a user