Basically just Dribbble comments.
Drivvvel uses Gulp.js to handle a few simple build tasks:
compile css
compilessrc/index.less
and deposits the result incompiled/index.css
. It also handles livereload functionality.compile js
compilessrc/index.js
and deposits the result incompiled/index.js
watch css
watches all theless
andcss
files insrc
for changes, then recompilessrc/index.less
.default
compiles everything, then starts watching for changes. This is the only task you'll need to run.
For the most part, you'll only need to run gulp
, which will run the default task. The source javascript and CSS files are in the src
directory, and the compiled files for use in the site are dropped in compiled
. All of the site's markup is contained in index.html
, the origin of all things.
Drivvvel is basically just a hacky GitHub Pages site. There's a branch called gh-pages
, which contains the code currently used on the deployed site. To update the live site:
- commit and push your changes to
master
- switch to
gh-pages
and mergemaster
into it - push
gh-pages
Within a couple minutes, your new changes should go live!