The content in this repository will be mostly the gulpfile
, pug
template
demos, and a wiki perhaps. So far I am still learning how to package with npm
(this is a spare time project, and I'm no professional and have no idea what I'm
doing).
Pugitude is all about putting together the straight-forward static site generator that I wish already existed. Where most any other offering is oriented toward blog content, Pugitude makes no assumptions about your content, so there's no opinion to work around. I wanted to make a generator that would allow making portfolio or gallery sites sensible and streamlined.
Cloning this repo is probably the best idea. First install NodeJS (I suggest with a tool like the wonderful nvm). Navigate to your working directory, and use git to install:
$ git clone git@github.com:wandrewkeech/gulp-pugitude
Then rename the new gulp-pugitude/
folder to your project's name so it's
how you want it. Now finally, use npm
to install the dependencies and a global
copy of gulp (I have no idea why the in-directory copy does not seem to work):
$ npm install --save-dev
$ npm install -g gulp
Generating the demo content is done with a straight-forward
$ gulp
which should build all the content first (which automatically mirrors the
structure of your source directory tree), watch all source directories, fire up
live-server
, and open your browser. Updates will appear automatically and very
quickly in your browser window (as soon as I fix the bug with running
need to be revealed manually on reload.live-server
from within gulp
)
- Build a comprehensive demo of
pug
features and use in the demo project -
Build aUse a framework like a normal person and do a tiny bit of work to demonstrate it and modify itsass
theme for the demo project (likely borrow from http://www.jade-lang.com ) -
Get automatic refresh in browser with live-server working withgulp
- Perhaps have an error-catching call back to prevent
gulp
from exiting on apug
rendering error, if the user saves with a typo (or other syntax problems) - De-breakify this repo as it was, and come up with a conceivable way for other people to try the setup out