From 0 to Website
Install npm. Then, install gulp:
npm install -g gulp # May require `sudo`
npm install gem install scss_lint gulp serve
Relevant gulp commands:
Builds the site into the
dist directory. This includes:
- SCSS w/ linting, sourcemaps and autoprefixing
- JS linting and uglification
- Handlebars to HTML
gulp watch in the background, and serves the
dist directory at
localhost:3000 with automatic reloading using Browsersync.
Deploying to GitHub pages is a little bit of a pain because of relative paths. Here's the current workflow, after committing a fix or change to
git checkout gh-pages
git reset --hard master
- (Correct relative paths in
jade/to the front)
mv dist/* ./
git add -A
git commit -m "Excellent fix"
git push -f origin gh-pages
And you done.
If you REALLY want to contribute, maybe you can make some configs that will solve this problem...