configuration for new staging environment

This commit is contained in:
g
2020-09-14 17:55:44 +03:00
parent e9b36b8cc7
commit 1e13fa9e9f
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
######FOR TEST STAGING ENV
update wp_options set option_value = "https://staging-law.carta.live" where option_id = 1 limit 1;
update wp_options set option_value = "https://staging-law.carta.live" where option_id = 2 limit 1;
update wp_2_options set option_value = "https://staging-live.carta.live" where option_id = 1 limit 1;
update wp_2_options set option_value = "https://staging-law.carta.live/livecarta" where option_id = 2 limit 1;
update wp_blogs set domain = "staging-law.carta.live" where blog_id = 1 limit 1;
update wp_blogs set domain = "staging-law.carta.live" where blog_id = 2 limit 1;
update wp_domain_mapping set domain = "staging-live.carta.live" where blog_id = 2 limit 1;
update wp_site set domain = "staging-law.carta.livem" where id =1 limit 1;

View File

@@ -0,0 +1,18 @@
<?php
define( 'DB_NAME', '@lcWpMySqlDbnameStaging@' );
define( 'DB_USER', '@lcWpMySqlUsernameStaging@' );
define( 'DB_PASSWORD', '@lcWpMySqlPasswordStaging@' );
define( 'DB_HOST', '@lcWpMySqlHostStaging@' );
define('DOMAIN_CURRENT_SITE', 'staging-law.carta.live');
define('LAWCARTA_SUBDOMAIN', 'app-staging');
define('LAWCARTA_PORT', '');
define('LAWCARTA_WP_REST_API_REQUEST_URL', 'https://app-staging-law.carta.live/v1/event/request');
define('LAWCARTA_WP_REST_API_RESPONSE_URL', 'https://app-staging-law.carta.live/v1/event/response');
define('LAWCARTA_ENVIRONMENT_NAME', 'staging');
$_SERVER['HTTPS'] = 'On';