Last active
June 8, 2021 14:49
-
-
Save ambercouch/8337d20c26e259d5fb76ff3369a022a4 to your computer and use it in GitHub Desktop.
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
#From the root of your wordpress install | |
#cd in to the theme folder | |
cd wp-content/themes/ | |
#download ac timber | |
git clone git@github.com:ambercouch/ac_timber.git ac_timber | |
#Swich to the master branch or whatever branch you want to use | |
cd ac_timber | |
git checkout master | |
cp gulpfile.v4.example.js gulpfile.js | |
#edit the gulpfile.js with nano or any text editor | |
nano gulpfile.js | |
#On line one replace mysite.local with the local domain when you acess your wordpress instalation and save the file | |
[ctrl]+[o] | |
[enter] | |
[ctrl]+[x] | |
#Install the dependencies | |
npm install | |
#Use the gulp commands genorate the style sheets and scripts etc | |
gulp vendorStyles | |
gulp styles | |
gulp scripts | |
gulp svgdefs | |
#Use the gulp command serve to open browserSync and watch the scss and js files | |
gulp serve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment