Changes WP DB prefix

This commit is contained in:
Vlad
2017-12-06 22:06:44 -05:00
committed by pavel-mailpoet
parent 52d33d7fe8
commit fd64702eaa
2 changed files with 136 additions and 133 deletions

View File

@@ -30,6 +30,9 @@ if ! $(wp-su core is-installed); then
wp-su core config --dbhost=mysql --dbname=wordpress --dbuser=wordpress --dbpass=wordpress --extra-php="define( 'SCRIPT_DEBUG', true );" --force
fi
# Change default table prefix
sed -i "s/\$table_prefix = 'wp_';/\$table_prefix = 'mp_';/" ./wp-config.php
# Load Composer dependencies
# Set KEEP_DEPS environment flag to not redownload them on each run, only for the 1st time, useful for development.
# Example: docker-compose run -e KEEP_DEPS=1 codeception ...

File diff suppressed because one or more lines are too long