Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1019 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 1019 Bytes

ballerina-platform.github.io

ballerina-platform.github.io - Github pages based ballerina.io website

Run website locally with docker

Execute following command to build the docker image

docker build -t ballerina-web . 

Execute following command to run the container.

docker run -p 4000:4000 ballerina-web

Access website using http://localhost:4000/

Run website locally with Jekyll and bundler gems

Execute following command to install Jekyll

gem install jekyll bundler

Execute following command to install required gems

Run bundle install within project directory to install required gems.

Build the site and make it available on a local server

bundle exec jekyll serve

Troubleshooting Tips:

  1. For more information on the installation instructions, see the Jekyll Installation Documentation.
  2. If you get the cannot load such file -- webrick error, execute the bundle add webrick command.