Skip to content

Instantly share code, notes, and snippets.

@CatinhoCR
Created June 16, 2018 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CatinhoCR/0db50268d1d8573c5444fbfcc528c837 to your computer and use it in GitHub Desktop.
Save CatinhoCR/0db50268d1d8573c5444fbfcc528c837 to your computer and use it in GitHub Desktop.
Command Line prompts to create a WP project quickly with Sage 9 starter theme.
mkdir project-name
cd project-name
wp core download
wp config create --dbname=dbname --dbuser=user --dbpass=pass --dbprefix=pref
wp core install --url=example.dev --title=Title --admin-user=username --admin-password=password --admin-email=example@example.com
cd wp-content/themes
composer create-project roots/sage theme-name
npm install
yarn && yarn build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment