Skip to content

Instantly share code, notes, and snippets.

@scottzirkel
Created June 27, 2014 20:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottzirkel/54ffbd52cfb2dbc4682f to your computer and use it in GitHub Desktop.
Save scottzirkel/54ffbd52cfb2dbc4682f to your computer and use it in GitHub Desktop.
Custom WordPress install script
#!/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