forked from elixir-europe/infectious-diseases-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ELIXIR-Belgium:main' into linked-cohorts-showcase
- Loading branch information
Showing
138 changed files
with
3,575 additions
and
956 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
_site/ | ||
Gemfile.lock | ||
.jekyll-cache | ||
.jekyll-metadata | ||
.vscode/launch.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
source "https://rubygems.org" | ||
|
||
# GitHub pages dependencies | ||
gem 'github-pages', group: :jekyll_plugins | ||
gem "elixir-toolkit-theme-plugins", "~> 0.1.9" | ||
gem "webrick", "~> 1.7" | ||
gem "jekyll", "~> 4.3.1" | ||
gem "jemoji", "~> 0.13.0" | ||
gem "kramdown-parser-gfm", "~> 1.1" | ||
|
||
group :jekyll_plugins do | ||
gem "jekyll-redirect-from", "~> 0.16.0" | ||
gem "jekyll-sitemap", "~> 1.4" | ||
gem "jekyll-github-metadata", "~> 2.15" | ||
gem "jekyll-relative-links", "~> 0.6" | ||
gem "jekyll-seo-tag", "~> 2.8" | ||
gem "jekyll-remote-theme" | ||
end | ||
|
||
# Webrick needed for Ruby v3.0+ compatibility | ||
gem "webrick" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,51 @@ | ||
[![theme badge](https://img.shields.io/badge/ELIXIR%20toolkit%20theme-jekyll-blue?color=0d6efd)](https://github.com/ELIXIR-Belgium/elixir-toolkit-theme) | ||
[![theme badge](https://img.shields.io/badge/ELIXIR%20toolkit%20theme-jekyll-blue?color=0d6efd)](https://github.com/ELIXIR-Belgium/elixir-toolkit-theme) [![Validation of the tools and page metadata](https://github.com/elixir-europe/infectious-diseases-toolkit/actions/workflows/tool_list_conversion.yml/badge.svg)](https://github.com/elixir-europe/infectious-diseases-toolkit/actions/workflows/tool_list_conversion.yml) [![Jekyll site CI](https://github.com/elixir-europe/infectious-diseases-toolkit/actions/workflows/jekyll.yml/badge.svg)](https://github.com/elixir-europe/infectious-diseases-toolkit/actions/workflows/jekyll.yml) | ||
|
||
# Infectious Diseases Toolkit | ||
<img src="https://raw.githubusercontent.com/elixir-europe/infectious-diseases-toolkit/master/assets/img/main_logo.svg" alt="IDTk logo" width="650"/> | ||
|
||
The website is build on GitHub using Jekyll, a simple, static site generator based on ruby. When you have a local copy cloned onto your computer, it is possible to generate the website based on this repo. This makes it possible to preview changes live, every time you save a file from within the GitHub infectious-diseases-toolkit repo. Follow these steps to deploy the website based on your local clone (copy) of the jekyll-bootstrap-theme repo: | ||
|
||
Make sure you have cloned the infectious-diseases-toolkit repo: | ||
|
||
git clone git@github.com:elixir-europe/infectious-diseases-toolkit.git | ||
cd infectious-diseases-toolkit | ||
# Infectious Diseases Toolkit (IDTk) | ||
|
||
The Infectious Diseases Toolkit (IDTk) is a community effort to detail best practices related to infectious disease data management, and showcase solutions that were developed to deal with outbreaks. It was created as part of the [BeYond COVID (BY-COVID) project]( https://by-covid.org/). More information can be found in the [about](https://www.infectious-diseases-toolkit.org/about/) page. | ||
|
||
To run the website locally, you can either use [Docker](https://www.docker.com/) or use Jekyll directly after installing various dependencies. | ||
## Contribute | ||
|
||
### Run using Docker | ||
IDTk is an open [community](https://www.infectious-diseases-toolkit.org/about/contributors) project and if you'd like to help with this project, please check out the following pages for more information: | ||
|
||
If not already installed on your machine, install Docker. From the root of the ``infectious-diseases-toolkit`` directory, run: | ||
``` | ||
docker run -it --rm -p 4000:4000 -v $PWD:/srv/jekyll jekyll/jekyll:latest /bin/bash -c "chmod a+w /srv/jekyll/Gemfile.lock && chmod 777 /srv/jekyll && jekyll serve -w" | ||
``` | ||
This will start the docker container and serve the website locally. | ||
* [Code of Conduct](https://www.infectious-diseases-toolkit.org/CODE_OF_CONDUCT) | ||
* [How to contribute](https://www.infectious-diseases-toolkit.org/contribute/) | ||
* [Deploy the website locally](https://www.infectious-diseases-toolkit.org/contribute/working-with-git#the-advantage-of-working-locally-previewing-your-changes-through-your-web-browser) | ||
|
||
### Run using Jekyll directly | ||
The content of the material is developed in Markdown and a templating system ([Jekyll](http://jekyllrb.com/)) is used to format the Markdown pages and generate a website at ([https://www.infectious-diseases-toolkit.org](https://www.infectious-diseases-toolkit.org)). However, there are multiple [ways to contribute](https://elixir-belgium.github.io/infectious-diseases-toolkit-sandbox/contribute/#ways-of-contributing), and it is not a requirement that you are able to use these systems in order to contribute! | ||
|
||
1. If not already present on your machine, install ruby. Note that incompatibility issues may arise with ruby 3.0.0 (released 25.12.20) or newer versions. | ||
|
||
## How to reach us | ||
|
||
1. Install Jekyll | ||
If you have never installed or run a Jekyll site locally on your computer, follow these instructions to install Jekyll: | ||
* Install Jekyll on MacOS/Ubuntu/Other_Linux/Windows: [https://jekyllrb.com/docs/installation/](https://jekyllrb.com/docs/installation/) | ||
**Have a suggestion or spotted an error?** | ||
* Feel free to open a [GitHub issue](https://github.com/elixir-europe/infectious-diseases-toolkit/issues) | ||
* Or email the IDTk editors at [idtk-editors@elixir-europe.org](mailto:rdm-editors@elixir-europe.org ) | ||
|
||
1. Install Bundler and Jekyll | ||
|
||
``` | ||
gem install jekyll bundler | ||
``` | ||
## IDTk is a BY-COVID project | ||
|
||
1. Install dependencies | ||
The BY-COVID project aims to make COVID-19 data accessible not only to researchers, but to anyone that to anyone that could benefit from it, such as policy makers or hospital staff. | ||
|
||
``` | ||
bundle install | ||
``` | ||
Going beyond SARS-CoV-2 data, the project will provide a framework for making data from other infectious diseases open and accessible to everyone. | ||
|
||
1. deploy website | ||
|
||
``` | ||
bundle exec jekyll serve | ||
``` | ||
## Licence | ||
|
||
Additional information can be found at the following link: [https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll](https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll) | ||
The documents and data from the IDTk are made available under a CC-BY licence. Software are made available under an MIT license. More information about our licence can be found on our [licence](LICENSE) page. | ||
|
||
## How to cite the IDTk | ||
We have not published the story of IDTk yet. Until then, please refer to: | ||
|
||
|
||
<div style="padding:30px;"><p><i>Infectious Diseases Toolkit. A deliverable from the EU-funded BY-COVID project (grant agreement number 101046203). URL: <a href="https://www.infectious-diseases-toolkit.org/">https://www.infectious-diseases-toolkit.org/</a>.</i></p> | ||
</div> | ||
|
||
All of the material from the IDTk is made publicly available under Open Source Initiative licences. The process documents and data are made available under a CC-BY license. Software is made available under an MIT licence. For full details on licensing, please see our [licence document](/LICENSE). | ||
|
||
## Acknowledgements | ||
|
||
The IDTk is developed as part of the project BY-COVID, which received funding from the European Union’s Horizon Europe Research and Innovation Programme (grant number: 101046203). It is built based on experience and ways of working from the [RDMkit](https://rdmkit.elixir-europe.org/), and makes use of the [ELIXIR Toolkit Theme](https://elixir-belgium.github.io/elixir-toolkit-theme/) for deployment. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.