Skip to content

vunb/kites-website

Repository files navigation

How to deploy the website

#1. Install development tools.

  • Required OS: Ubuntu 16.04 or Bash 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

#2. Build dependencies

  • 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

#3. Build project

  • Build: npm run build

#4. Publish project

  • Deploy: npm run deploy
  • Publish: cd dist && git add . && git push origin gh-pages

gh-pages as a project submodule

> git submodule add -b gh-pages --name dist git@github.com:vunb/kites.git dist
> git submodule update --remote

References