Created
June 16, 2018 05:50
-
-
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.
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
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