Last active
August 29, 2015 14:16
-
-
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/.
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
# 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