forked from LiveCarta/LiveCartaWP
LAW-3610
This commit is contained in:
14
environments/new_prod_tmp_domains/domain_db_fix.sql
Normal file
14
environments/new_prod_tmp_domains/domain_db_fix.sql
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
######FOR TEST PROD ENV
|
||||||
|
|
||||||
|
update wp_options set option_value = "https://prod-law.carta.live" where option_id = 1 limit 1;
|
||||||
|
update wp_options set option_value = "https://prod-law.carta.live" where option_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_2_options set option_value = "https://prod-live.carta.live" where option_id = 1 limit 1;
|
||||||
|
update wp_2_options set option_value = "https://prod-law.carta.live/livecarta" where option_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_blogs set domain = "prod-law.carta.live" where blog_id = 1 limit 1;
|
||||||
|
update wp_blogs set domain = "prod-law.carta.live" where blog_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_domain_mapping set domain = "prod-live.carta.live" where blog_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_site set domain = "prod-law.carta.livem" where id =1 limit 1;
|
||||||
14
environments/new_prod_tmp_domains/http_domain_db_fix.sql
Normal file
14
environments/new_prod_tmp_domains/http_domain_db_fix.sql
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
######FOR TEST PROD ENV
|
||||||
|
|
||||||
|
update wp_options set option_value = "http://prod-law.carta.live" where option_id = 1 limit 1;
|
||||||
|
update wp_options set option_value = "http://prod-law.carta.live" where option_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_2_options set option_value = "http://prod-live.carta.live" where option_id = 1 limit 1;
|
||||||
|
update wp_2_options set option_value = "http://prod-law.carta.live/livecarta" where option_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_blogs set domain = "prod-law.carta.live" where blog_id = 1 limit 1;
|
||||||
|
update wp_blogs set domain = "prod-law.carta.live" where blog_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_domain_mapping set domain = "prod-live.carta.live" where blog_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_site set domain = "prod-law.carta.livem" where id =1 limit 1;
|
||||||
25
environments/new_prod_tmp_domains/wp-config-local.php
Normal file
25
environments/new_prod_tmp_domains/wp-config-local.php
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
define( 'DB_NAME', '@lcWpMySqlDbnameProd@' );
|
||||||
|
define( 'DB_USER', '@lcWpMySqlUsernameProd@' );
|
||||||
|
define( 'DB_PASSWORD', '@lcWpMySqlPasswordProd@' );
|
||||||
|
define( 'DB_HOST', '@lcWpMySqlHostProd@' );
|
||||||
|
|
||||||
|
define('DOMAIN_CURRENT_SITE', 'prod-law.carta.live');
|
||||||
|
|
||||||
|
define('LAWCARTA_SUBDOMAIN', 'app-prod-law');
|
||||||
|
define('LAWCARTA_PORT', '');
|
||||||
|
|
||||||
|
define('LAWCARTA_WP_REST_API_REQUEST_URL', 'https://app-prod-law.carta.live/v1/event/request');
|
||||||
|
define('LAWCARTA_WP_REST_API_RESPONSE_URL', 'https://app-prod-law.carta.live/v1/event/response');
|
||||||
|
|
||||||
|
define('LAWCARTA_ENVIRONMENT_NAME', 'prod');
|
||||||
|
|
||||||
|
$_SERVER['HTTPS'] = 'On';
|
||||||
|
|
||||||
|
//S3 uploads settings
|
||||||
|
define( 'S3_UPLOADS_BUCKET', 'law-carta-prod-wp' );
|
||||||
|
define( 'S3_UPLOADS_REGION', 'us-west-1' );
|
||||||
|
|
||||||
|
define( 'S3_UPLOADS_KEY', '@lcAwsKey@' );
|
||||||
|
define( 'S3_UPLOADS_SECRET', '@lcAwsSecretKey@' );
|
||||||
Reference in New Issue
Block a user