Skip to content

Instantly share code, notes, and snippets.

@Dorf
Last active February 13, 2019 15:05
Show Gist options
  • Save Dorf/2bfa520e1049234bec3a29be17f86b12 to your computer and use it in GitHub Desktop.
Save Dorf/2bfa520e1049234bec3a29be17f86b12 to your computer and use it in GitHub Desktop.
[WP CLI Valet Command Start Project] #valet #wordpress #wp-cli #local #roots #sage
cd ~/Sites/valet/
# https://github.com/aaemnnosttv/wp-cli-valet-command
wp valet new projectname --dbname=agency.project --dbuser=root --dbprefix=wp_ --admin_user=Hippo --admin_password=password [email protected]
# for bedrock:
wp valet new projectname --project=bedrock --dbprefix=wp_
# INSTALL ROOTS: https://roots.io/sage/docs/theme-installation/
# go to themes folder:
composer create-project roots/sage your-theme-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment