Skip to content

Instantly share code, notes, and snippets.

@cheh
Created November 9, 2017 11:49
Show Gist options
  • Save cheh/49b9aab8069df589ab2797b52c730deb to your computer and use it in GitHub Desktop.
Save cheh/49b9aab8069df589ab2797b52c730deb to your computer and use it in GitHub Desktop.
WP CLI commands for starting project
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