- Static site hosted on GitHub pages
- Two branches
Master
holds all the build processesGH-Pages
is used to deploy- Note: If you're looking to implement this, you'll need to create your
GH-Pages
branch by runninggit checkout --orphan gh-pages
- Everything is written in
Jade
andStylus
- There's a
Gulp
task that builds the site and dumps all the files inside thepublic
folder - Use
npm run deploy
to move all the content ofpublic
into theGH-Pages
branch
The Master
branch and the GH-Pages
branch have a few key difference:
Master
contains:- This README
- A
source
folder where all the uncompiled files go - A
gulp
script that compiles all the files index.js
, a simple serverpackage.json
, some basic Node configuration
GH-Pages
contains:CNAME
file, used for GitHub hosting
Both branches have the same .gitignore
which includes:
.DS_Store
npm-debug.log
public
node_modules