Skip to content
This repository has been archived by the owner on Mar 7, 2022. It is now read-only.

OpenCyphal-Garage/uavcan.github.io

Repository files navigation

Legacy UAVCAN website

Forum

This repository contains sources of the legacy UAVCAN website available at http://legacy.uavcan.org. This website has been replaced with dronecan.org, which is now maintained by a different team.

How to configure Jekyll with Github Pages: https://help.github.com/articles/using-jekyll-with-pages.

Dependencies

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: bundle install.

Running the website locally

  1. 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.
  2. Execute from the terminal bundle exec jekyll serve and wait until the page is generated.
  3. Open your internet browser and navigate to http://localhost:4000 to see your local website.

Troubleshooting

In case you have an error like in 'autodetect': Could not find a JavaScript runtime. while running 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.