Skip to content

Instantly share code, notes, and snippets.

@monnoval
Created February 7, 2016 12:11
Show Gist options
  • Save monnoval/b9583672749f3f5fe690 to your computer and use it in GitHub Desktop.
Save monnoval/b9583672749f3f5fe690 to your computer and use it in GitHub Desktop.
Bash script to start a new project using Bare wordpress starter theme
#! /bin/bash
echo -n "Name of your theme: "
read -e THEME
git clone --depth=1 [email protected]:msnoval/bare.git $THEME
cd ${THEME}
rm -rf .git
npm install gulp -g
npm install bower -g
npm install
gulp --start $THEME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment