Advertisement
Guest User

Untitled

a guest
Sep 14th, 2016
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. ## .bash_profile
  2.  
  3. export PATH=$PATH:/Applications/MAMP/Library/bin/
  4. export WP_CLI_PHP=/Applications/MAMP/bin/php/php5.6.25/bin/php
  5.  
  6.  
  7.  
  8. ## Command Line
  9. wp core download --locale=en_US
  10.  
  11. wp core config --dbname=testing --dbuser=wp --dbpass=securepswd
  12.  
  13. # Enable WP_DEBUG and WP_DEBUG_LOG
  14. wp core config --dbname=testing --dbuser=wp --dbpass=securepswd --extra-php <<PHP
  15. define( 'WP_DEBUG', true );
  16. define( 'WP_DEBUG_LOG', true );
  17.  
  18. wp db create
  19.  
  20. 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