This commit is contained in:
g
2021-01-18 16:38:46 +03:00
parent 3af31a4012
commit b0e733004a
3 changed files with 53 additions and 0 deletions

View 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;

View 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;

View 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@' );