Advertisement
Guest User

Untitled

a guest
Jan 13th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. if [ ! -d "htdocs" ]; then
  2. echo 'Installing WordPress (release version) in realestate/htdocs...'
  3. mkdir ./htdocs
  4. cd ./htdocs
  5. wp core download --allow-root
  6. wp core config --dbname="realestate" --dbuser=wp --dbpass=wp --dbhost="localhost" --allow-root
  7. wp core install --url=realestate.dev --title="realestate - A WordPress Site" --admin_user=admin --admin_password=password --admin_email=demo@example.com --allow-root
  8. cd -
  9. else
  10. echo 'Updating WordPress in realestate/htdocs...'
  11. wp core update --allow-root
  12. wp core update-db --allow-root
  13. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement