This commit introduces a more reliable and consistent approach to setting up the development environment using backups: - Add setup-from-backup.sh script for environment setup from existing backups - Standardize script naming and organization - Move obsolete scripts to bin/obsolete directory - Update documentation with new workflow instructions - Create migration guide for transitioning to new workflow - Update Memory Bank with workflow improvements The new workflow provides: - More reliable environment setup - Faster setup process - Offline development capability - Consistent development environments across team members Breaking changes: - setup-dev.sh is replaced by setup-from-backup.sh - sync-and-setup.sh is replaced by separate scripts - verify-with-wpcli.sh is no longer used Migration path is documented in MIGRATION_GUIDE.md
59 lines
2 KiB
PHP
59 lines
2 KiB
PHP
<?php
|
|
/**
|
|
* The base configuration for WordPress
|
|
*/
|
|
|
|
// ** Database settings ** //
|
|
define( 'DB_NAME', getenv('WORDPRESS_DB_NAME') );
|
|
define( 'DB_USER', getenv('WORDPRESS_DB_USER') );
|
|
define( 'DB_PASSWORD', getenv('WORDPRESS_DB_PASSWORD') );
|
|
define( 'DB_HOST', getenv('WORDPRESS_DB_HOST') );
|
|
define( 'DB_CHARSET', 'utf8' );
|
|
define( 'DB_COLLATE', '' );
|
|
|
|
/**#@+
|
|
* Authentication Unique Keys and Salts.
|
|
*/
|
|
define('AUTH_KEY', '{mDN$=c{&a=>j1]e+Z$.80AT++:6?Xhrodxd$xz17K[_S;54<L8a_ban$|SO6h$h');
|
|
define('SECURE_AUTH_KEY', '?2QF|-!eUjx2cs{,yWmqGM%4.SfRi@v-dm-e0/Pej}q0GBukP<u+x[w0Wo-lPm[d');
|
|
define('LOGGED_IN_KEY', 'HOt?vigXMHbW=-F187`5Q2Zsi$bo&P!rssD$OT#zILN)C5|;YKl?(36>*mdD<{xG');
|
|
define('NONCE_KEY', ' %WDT]#vSTmbCs.OKE+83/iC>-jn`Hl73uzayMt+eDOv/{Pr-Rp,j-WZ$A.L5w!5');
|
|
define('AUTH_SALT', '5v0-0Memr/s.r,T$K(6(,Y^VE4Qb2bP-vlXrb+sq5+acjj]RqxQaGhT-d3E7%bI}');
|
|
define('SECURE_AUTH_SALT', 'YX]7zD&X*[,U&G 2ce.5}ST4tdvl)1:Mmk`9_)P!Ei>.`xO3&(9YfQ:@.-Fxz7ey');
|
|
define('LOGGED_IN_SALT', '1X*6CKC;PeJA>Ho9$|*VCv-1q9eA2o&@#Q+Sk7?^m=z|s4l+<@zLQx_;k+U5[Ns*');
|
|
define('NONCE_SALT', '%,Vo(QDn`:}Ehc!]MMA%D?{=sN>_ 6[ytAL#<wI->Y:7hZm4[hSXgW^6*n}~lZw&');
|
|
|
|
/**#@-*/
|
|
|
|
/**
|
|
* WordPress Database Table prefix.
|
|
*/
|
|
$table_prefix = 'wp_';
|
|
|
|
/**
|
|
* For developers: WordPress debugging mode.
|
|
*/
|
|
define( 'WP_DEBUG', true );
|
|
define( 'WP_DEBUG_LOG', true );
|
|
define( 'WP_DEBUG_DISPLAY', true );
|
|
@ini_set( 'display_errors', 1 );
|
|
|
|
/* Disable SSL/HTTPS in admin */
|
|
define('FORCE_SSL_ADMIN', false);
|
|
define('FORCE_SSL_LOGIN', false);
|
|
|
|
/* Override site URL */
|
|
define('WP_HOME', 'http://localhost:8080');
|
|
define('WP_SITEURL', 'http://localhost:8080');
|
|
|
|
/* Add any custom values between this line and the "stop editing" line. */
|
|
|
|
/* That's all, stop editing! Happy publishing. */
|
|
|
|
/** Absolute path to the WordPress directory. */
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
define( 'ABSPATH', __DIR__ . '/' );
|
|
}
|
|
|
|
/** Sets up WordPress vars and included files. */
|
|
require_once ABSPATH . 'wp-settings.php';
|