Skip to content

Instantly share code, notes, and snippets.

@hansspiess
Last active August 29, 2015 14:16
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 hansspiess/ea4a29fed7696aa89bbd to your computer and use it in GitHub Desktop.
Save hansspiess/ea4a29fed7696aa89bbd to your computer and use it in GitHub Desktop.
These commands come in handy when setting up new wp installs with the successor of roots, https://roots.io/sage/.
# download & unzip latest, to be executed in /sites folder
wget http://wordpress.org/latest.tar.gz && tar xfz latest.tar.gz && rm latest.tar.gz
# move to theme directory
cd wordpress/wp-content/themes/
# clone sage theme: https://roots.io/sage/
git clone https://github.com/roots/sage.git theme-name
# delete standard themes
rm -rf twenty*
# install packages
cd theme-name && npm install
# install dependencies
bower install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment