a guest Nov 14th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #First param, where the install should go
- mysql -uroot -proot -e "CREATE DATABASE $MAINDB"
- (cd '/applications/mamp/htdocs/' && mkdir $MYDIR)
- (cd '/applications/mamp/htdocs/'$MYDIR && wp core download)
- (cd '/applications/mamp/htdocs/'$MYDIR && wp config create --dbname=$MAINDB --dbuser=$MYUSR --dbpass=$MYPWD)
RAW Paste Data