Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## .bash_profile
- export PATH=$PATH:/Applications/MAMP/Library/bin/
- export WP_CLI_PHP=/Applications/MAMP/bin/php/php5.6.25/bin/php
- ## Command Line
- wp core download --locale=en_US
- wp core config --dbname=testing --dbuser=wp --dbpass=securepswd
- # Enable WP_DEBUG and WP_DEBUG_LOG
- wp core config --dbname=testing --dbuser=wp --dbpass=securepswd --extra-php <<PHP
- define( 'WP_DEBUG', true );
- define( 'WP_DEBUG_LOG', true );
- wp db create
- wp core install --url=example.com --title=Example --admin_user=supervisor --admin_password=strongpassword --admin_email=info@example.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement