Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if [ ! -d "htdocs" ]; then
- echo 'Installing WordPress (release version) in realestate/htdocs...'
- mkdir ./htdocs
- cd ./htdocs
- wp core download --allow-root
- wp core config --dbname="realestate" --dbuser=wp --dbpass=wp --dbhost="localhost" --allow-root
- wp core install --url=realestate.dev --title="realestate - A WordPress Site" --admin_user=admin --admin_password=password --admin_email=demo@example.com --allow-root
- cd -
- else
- echo 'Updating WordPress in realestate/htdocs...'
- wp core update --allow-root
- wp core update-db --allow-root
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement