forked from LiveCarta/LiveCartaWP
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@' );
|
||||||
@@ -96,5 +96,20 @@ require_once 'inc/walker-nav-menu.php';
|
|||||||
</script>
|
</script>
|
||||||
<!-- End Twitter universal website tag code -->
|
<!-- End Twitter universal website tag code -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
_linkedin_partner_id = "2191674";
|
||||||
|
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
|
||||||
|
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
|
||||||
|
</script><script type="text/javascript">
|
||||||
|
(function(){var s = document.getElementsByTagName("script")[0];
|
||||||
|
var b = document.createElement("script");
|
||||||
|
b.type = "text/javascript";b.async = true;
|
||||||
|
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
|
||||||
|
s.parentNode.insertBefore(b, s);})();
|
||||||
|
</script>
|
||||||
|
<noscript>
|
||||||
|
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=2191674&fmt=gif" />
|
||||||
|
</noscript>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -90,5 +90,19 @@
|
|||||||
</script>
|
</script>
|
||||||
<!-- End Twitter universal website tag code -->
|
<!-- End Twitter universal website tag code -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
_linkedin_partner_id = "2191674";
|
||||||
|
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
|
||||||
|
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
|
||||||
|
</script><script type="text/javascript">
|
||||||
|
(function(){var s = document.getElementsByTagName("script")[0];
|
||||||
|
var b = document.createElement("script");
|
||||||
|
b.type = "text/javascript";b.async = true;
|
||||||
|
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
|
||||||
|
s.parentNode.insertBefore(b, s);})();
|
||||||
|
</script>
|
||||||
|
<noscript>
|
||||||
|
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=2191674&fmt=gif" />
|
||||||
|
</noscript>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user