melanie
A site for Mel.
Building the site
From the root /melanie
, run this command. It renders templates, compile CSS and JS. Outputs everything to /site
.
npm run build
Publishing
For some reason I set this up to track basically a separate project on the
gh-pages
branch. So /site
is actually the gh-pages
branch, while the rest
is tracked on master
.
- So clone
gh-pages
to/site
, and make sure you're checked out ongh-pages
- You should be on
master
in the project root, andgh-pages
in `/site - Build from master using
npm run build
- Back in
/site
you should have unstaged updates - Commit and push to
gh-pages