Skip to content
Website for PERKODI
Ruby HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content
layouts
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
Rules
nanoc.yaml

README.md

About

How to use

Build

bundle exec nanoc

Preview

bundle exec nanoc view

How to deploy to GitHub Pages

  1. First Time setup
% rm -rf output
% git clone . output
% cd output
output@master% git checkout --orphan gh-pages
output@gh-pages% git rm -rf .
output@gh-pages% git commit --m 'Create gh-pages branch' --allow-empty

output@gh-pages% git remote rm origin
output@gh-pages% git remote add origin repo-url
  1. Subsequent deploy

Do this from root directory, not output

% bundle exec nanoc # build pages
% bundle exec nanoc deploy # deploy, that's it!
You can’t perform that action at this time.