Created
November 9, 2017 11:49
-
-
Save cheh/49b9aab8069df589ab2797b52c730deb to your computer and use it in GitHub Desktop.
WP CLI commands for starting project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. wp core download | |
2. wp config create --dbname=altr --dbuser=admin --dbpass=1 --extra-php <<PHP | |
define( 'WP_DEBUG', true ); | |
define( 'WP_DEBUG_LOG', true ); | |
PHP | |
3. Open wp-config.php and change $table_prefix | |
4. wp db create | |
5. wp core install --url=http://localhost:8888/lifeisgood/altr_fe/ --title=altr --admin_user=admin --admin_password=1 [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment