Created
August 16, 2016 20:43
-
-
Save digimix/17c1098c96d3d9784ec0ac8ac31b5ec4 to your computer and use it in GitHub Desktop.
Run setup for Sage based WordPress themes on Bedrock provisioned by Trellis.
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 -e "Which directory theme you like to setup?" | |
read theme | |
# Initiating Digimix theme setup | |
echo "Initiating Digimix theme setup" | |
cd /srv/www/digimix.co/current/web/app/themes/$theme | |
# install node modules | |
echo "install node modules" | |
npm install | |
# install bower components | |
echo "installing bower components" | |
bower install | |
# compile theme with gulp | |
echo "compiling theme with gulp" | |
gulp | |
cd /srv/www/digimix.co/current/web/app/$theme | |
echo "Digimix theme setup complete" | |
# Digimix theme setup complete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment