Created
June 27, 2014 20:26
-
-
Save scottzirkel/54ffbd52cfb2dbc4682f to your computer and use it in GitHub Desktop.
Custom WordPress install script
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
#!/bin/bash | |
echo "What is the theme name? (no spaces)" | |
read THEME | |
echo Installing Wordpress | |
git clone git@github.com:scottzirkel/wordpress-base.git website ## This pulls down my WordPress starter template | |
cd website | |
echo Installing Composer ## I use Composer to manage the backend dependencies (ie: WordPress, public plugins, etc) | |
composer install | |
cd app/themes | |
echo Setting up "$THEME" | |
mkdir "$THEME" | |
cd "$THEME" | |
git clone git@github.com:scottzirkel/html-starter.git . ## And adds in my HTML starter template | |
echo Installing NPM/Gulp ## Gulp is my task runner of choice | |
npm install | |
echo Installing Bower ## Bower manages the frontend dependencies (Bootstrap, jQuery, Font-Awesome by default) | |
bower install | |
atom |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment