- Required OS:
Ubuntu 16.04
orBash on Ubuntu on Windows
- Steps to do:
sudo apt-get update
sudo apt-get install ruby ruby-dev make build-essential
gem -v
sudo gem install jekyll bundler
- Required Node.js v6.9.1 and NPM v3.10.8 or newer
- Steps to do:
cd path/to/website/project
npm install
- //postInstall:
bundle install --path ./gem_modules/bundle
- Build:
npm run build
- Deploy:
npm run deploy
- Publish:
cd dist && git add . && git push origin gh-pages
> git submodule add -b gh-pages --name dist git@github.com:vunb/kites.git dist
> git submodule update --remote
- Install
jekyll
3.7.3 on Ubuntu 16.04 gem -v
prints2.5.2.1
or newer.