This repository contains sources of the UAVCAN website.
How to configure Jekyll with Github Pages: https://help.github.com/articles/using-jekyll-with-pages.
Install Ruby 2.x. If necessary, activate it using RVM.
Follow the instructions on the repository page to install Bunler.
Enter your local clone derictory (make sure you have Gemfile there). Execute from the terminal:
Running the website locally
- Enter your local clone derictory (where the Gemfile is located).
Make sure that all git submodules are initialized by running
git submodule update --init --recursive.
- Execute from the terminal
bundle exec jekyll serveand wait until the page is generated.
- Open your internet browser and navigate to http://localhost:4000 to see your local website.
In case you have an error like
bundle exec jekyll serve, add the following lines to the
Gemfile in the parent folder:
gem 'execjs' gem 'therubyracer'
Then open the terminal and run
bundle update && bundle install.