- Install
node&yarn(note on macOSbrew install yarnwill also installnode) - Add
yarnto your PATH path according to yarn docs (note for fish shell users edit config.fish withset -gx PATH $PATH $HOME/.config/yarn/global/node_modules/.bin) - Install
gulpglobally -yarn global add gulp
- If you just cloned the repo, install packages by running
yarn.
Packages are listed in package.json
Add new dependencies - yarn add <package name>
Add new dev dependencies - yarn add --dev <package name>
cd pupil-labs-websitegulp
The default gulp task will run a webserver on localhost:3000. Checkout gulpfile.coffee for more commands
cd pupil-labs-websitegulp newPost --title "Post Title"
This will create a folder in contents/articles with a skeleton .md file with the title and current date. Check out gulpfile.coffee to see more argv options for newPost