ballerina-platform.github.io - Github pages based ballerina.io website
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/
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. - If you get the
Could not locate Gemfile
error, you may not be inside theballerina-dev-website
repo directory. Navigate to it in the terminal, and then, execute the required command. - If you get the
An error occurred while installing eventmachine (1.2.7), and Bundler cannot continue.
error, execute thebundle config build.eventmachine --with-cppflags=-I/usr/local/opt/openssl/include
command, and then execute thebundle install
command.