Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Jekyll output
_site/

# Ruby/Bundler
Gemfile
Gemfile.lock

# Editor backups
.DS_Store

.sass-cache/
.jekyll-cache/
.bundle/
vendor/
130 changes: 0 additions & 130 deletions Assignments/assignment1A.md

This file was deleted.

93 changes: 0 additions & 93 deletions Assignments/assignment1C.md

This file was deleted.

Binary file added Images/Image-NewSnorqlInterface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/plantmetwiki-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
113 changes: 102 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,110 @@
# SPARQLing Biology: a beginners course.
# SPARQLing Plant Metabolic Pathways Wiki

This [SPARQLing Biology](index.md) workshop material in such a manner that it can be used in other workshops.
This repository contains the **SPARQLing Plant Metabolic Pathways Wiki** tutorial material, adapted from the original *SPARQLing Biology* workshop so that it can be reused in other workshops.

Read the latest version of the workshopmaterial online at [https://DeniseSl22.github.io/SPARQLTutorials/].
- 🌱 Online tutorial: <https://pathway-lod.github.io/SPARQLTutorials/>
- 🌐 PlantMetWiki SPARQL Explorer: <https://plantmetwiki.bioinformatics.nl/>

The material for this workshop is available under [CC-BY-SA 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/legalcode) licence.
This tutorial was adapted from the course materials available at
<https://DeniseSl22.github.io/SPARQLTutorials/>.

Authors:
License for this tutorial and source code:
[CC-BY-SA 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/legalcode)

* Egon Willighagen
* Marvin Martens
* Denise Slenter
## Credits

Authors of the original SPARQLing Biology material:

We would like to acknowledge the material provided at [https://github.com/egonw/fvtworkshop] by Egon Willighagen, Ruud Steltenpool and Lars Willighagen, which has been used to construct this workshop
(material is only available in Dutch).
* Egon Willighagen
* Marvin Martens
* Denise Slenter

* Part of this Material has been tested at the [BioSb conference](https://www.bigcat.unimaas.nl/sparqling-biology-breakout-session-at-biosb-2019/) taking place at the 3th of April 2019 in Lunteren. The specific material for this workshop can be found [here](https://bigcat-um.github.io/SPARQLTutorialBioSB2019/).
We would like to acknowledge the material provided at
<https://github.com/egonw/fvtworkshop> by Egon Willighagen, Ruud Steltenpool and Lars Willighagen, which has been used to construct this workshop (material is only available in Dutch).

Part of this material has been tested at the
[BioSB conference breakout session](https://www.bigcat.unimaas.nl/sparqling-biology-breakout-session-at-biosb-2019/) taking place on the 3rd of April 2019 in Lunteren.
The specific material for this workshop can be found at
<https://bigcat-um.github.io/SPARQLTutorialBioSB2019/>.


---

## Serve this website locally for development (macOS, tested)

These instructions assume:

- macOS
- [Homebrew](https://brew.sh/) installed
- You are in this repository (e.g. `cd /path/to/SPARQLTutorials`)

The site uses Jekyll with the GitHub Pages theme **`jekyll-theme-tactile`** and is best run via **Bundler**, so the local environment matches GitHub Pages.

### 1. Install Ruby (via Homebrew)

```bash
brew install ruby
```

### 2. Ensure Homebrew Ruby is on your PATH

For Apple Silicon (M1/M2/M3):
```
echo 'export PATH="/opt/homebrew/opt/ruby/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
```

For Intel Macs:
```
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
```

You can check Ruby with:
```
ruby -v
```

### 3. Install Bundler

```
gem install bundler
```

### 4. Install the site dependencies with Bundler

From the repo root
(SPARQLTutorials):

```
cd /path/to/SPARQLTutorials
bundle install
```

This uses the Gemfile in the repository to install:
- jekyll
- jekyll-theme-tactile
- jekyll-seo-tag
- and any other required gems.


### 5. Serve the site locally
```
bundle exec jekyll serve --port 4001
```

Jekyll will print something like:
```
Server address: http://127.0.0.1:4001/
Server running... press ctrl-c to stop.
```

Open the URL in your browser (usually http://127.0.0.1:4000/).
You should see the tutorial rendered with the same tactile theme as on GitHub Pages.


## Feedback

If you have feedback on this tutorial or find an issue, please open a GitHub issue in this repository:

https://github.com/pathway-lod/SPARQLTutorials/issues
14 changes: 13 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
theme: jekyll-theme-tactile
theme: jekyll-theme-tactile
permalink: pretty
# ensure your custom CSS loads
plugins: []
markdown: kramdown
kramdown:
auto_ids: true

# made a collection of rendered pages
collections:
tutorial:
output: true
permalink: /Assignments/:name/
1 change: 1 addition & 0 deletions _includes/head-custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/docs.css">
Loading