Original Author: Ian Lee [email protected]
Welcome to the CORSA Sustainability Dashboard! The purpose of this dashboard is to showcase the sustainability activities of open source scientific software under the stewardship of CASS.
Before you begin, make sure you have working installs of Git, Ruby, and Bundler. You will need these tools for development.
To work locally, first clone into the repository:
git clone https://github.com/corsa-center/dashboard
Make sure you are in the directory you just created by running cd dashboard
Then you can use bundler
to install the Ruby dependencies (see the Jekyll installation docs for step-by-step guides to setting this up):
bundle install
Running this will install everything in your Gemfile (including Jekyll).
Next, run the development web server with:
bundle exec jekyll serve --livereload --incremental
Finally, open http://localhost:4000 in a web browser.
The gems in your sourcefile get updated frequently. It is a good idea to occasionally run bundle update
from within your project's root directory to make sure the software on your computer is up to date.
Sometimes there can be dependency conflicts if your local version of Ruby is different from this repo or GitHub pages deployment settings. You can find the version number of each of GitHub Page's current dependency's here. You can often avoid dependency issues if you use the same versions, including for Ruby.
For example, the default version of Ruby used to deploy GitHub Pages on github.com as of 2021-04-08 was Ruby 2.7.1. If you tried running Ruby version 3.0.0 locally on macOS, you'll need to do some extra steps to correctly install the dependencies for this repository. You'd need to run bundle add webrick
as it is no longer a prepackaged dependency with Ruby in 3.0.0. You may also need to run gem install eventmachine -- --with-openssl-dir=/usr/local/opt/[email protected]
as MacOS >10.14 doesn't use OpenSSL from the same path as is still assumed to be in by eventmachine.
If you have any questions, please don't hesitate to contact the dashboard administrator (mailto:[email protected]).
You can also find us on our mailing list: [email protected].
The code of this site is released under the MIT License. For more details, see the LICENSE File.