Skip to content

Install and build the website

Harsha K edited this page Apr 25, 2021 · 1 revision

Install, build and debugging.

The project uses Jekyll to build nad test the website. The same is used by GitHub for deployment.

Directory Structure

Install

Installing new Ruby version with rbenv

In order to install multiple versions of Ruby, rbenv can be used. Please refer to the follwoing page to install:

https://github.com/rbenv/rbenv

Installing Jekyll

Follow the instructions here to install bundler and jekyll

https://jekyllrb.com/docs/installation/

The command to build and serve the file is here:

Checking Ruby version on MAC

rbenv global

Running the server locally:

bundle exec jekyll serve

Force build on GitHub with a empty push

git commit -m 'rebuild pages' --allow-empty
git push origin <branch-name>