Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # list directory
- alias: ls
- # where you ended up
- alias: pwd
- # change directory to documents, example cd documents/Websites/thatsite
- # or cd and drag directory and ls enter
- alias: cd
- # clear directory
- alias: cmd + k
- # remove all files from directory
- alias: rm ./*
- # download the latest version of WordPress
- alias: wp core download
- # see a list of WordPress alias options
- alias: wp help core
- # get backout of the help list
- alias: q
- # create and configure the WordPress config.php file (needs parmeters and does not prompt, use wp core config --prompt)
- alias: wp core config
- # create and configure the WordPress config.php file and prompt the user to enter values for all command arguments
- # db name: Site_demo
- # db user: root (check WebStart MAMP settings)
- # db pass: root (check WebStart MAMP settings)
- # db host: localhost or IP address 127.0.0.1
- # enter through uneeded settings
- # extra-php: n
- # skip-check: y
- alias: wp core config —prompt
- # us st to open new config file with Sublime Text to look at it
- alias: st wp-config.php
- # check if WordPress core is installed
- alias: wp core is-installed
- # create the WordPress database and using the creditials from the wp config file, follow promts and use
- alias: wp db create
- # import datebase with sql file in root folder
- alias: wp db import backup.sql
- # check site url
- alias: wp option get home
- # show search replace alias options
- alias: wp search replace
- # search and replace imported url to local setup url, dry run first
- wp search-replace //sitename.com //sitename.tuna --dry-run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement