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