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:
- For more information on the installation instructions, see the Jekyll Installation Documentation.
- If you get the
cannot load such file -- webrick
error, execute thebundle add webrick
command.