Skip to content

Instantly share code, notes, and snippets.

@gicolek
Created January 25, 2015 23:30
Show Gist options
  • Save gicolek/778ed8a3eede6c3fa974 to your computer and use it in GitHub Desktop.
Save gicolek/778ed8a3eede6c3fa974 to your computer and use it in GitHub Desktop.
Quick site setup WP-CLI
cd d:
cd xampp
cd htdocs
mkdir test_site
cd test_site
git clone git_repo_url.git
wp core download --allow-root
wp core config --dbname="test" --dbuser=wp --dbpass=wp --dbhost="localhost" --allow-root
wp core install --url=test.dev --title="test - A WordPress Site" --admin_user=admin --admin_password=password [email protected] --allow-root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment