Skip to content

Commit f2e775c

Browse files
committed
init concept for tutorials
0 parents  commit f2e775c

File tree

21 files changed

+1184
-0
lines changed

21 files changed

+1184
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Deploy Jupyter Book to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
concurrency:
18+
group: "pages"
19+
cancel-in-progress: false
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Setup Node.js
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: '20'
32+
33+
- name: Setup Python
34+
uses: actions/setup-python@v5
35+
with:
36+
python-version: '3.11'
37+
cache: 'pip'
38+
39+
- name: Install dependencies
40+
run: |
41+
pip install -r requirements.txt
42+
43+
- name: Build the book
44+
env:
45+
BASE_URL: /tutorials
46+
run: |
47+
jupyter-book build --html --no-serve
48+
49+
- name: Upload artifact
50+
uses: actions/upload-pages-artifact@v3
51+
with:
52+
path: '_build/html'
53+
54+
deploy:
55+
if: github.ref == 'refs/heads/main'
56+
environment:
57+
name: github-pages
58+
url: ${{ steps.deployment.outputs.page_url }}
59+
runs-on: ubuntu-latest
60+
needs: build
61+
steps:
62+
- name: Deploy to GitHub Pages
63+
id: deployment
64+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Jupyter Book build output
2+
_build/
3+
4+
# Python
5+
__pycache__/
6+
*.py[cod]
7+
*$py.class
8+
*.so
9+
.Python
10+
*.egg-info/
11+
.eggs/
12+
dist/
13+
build/
14+
15+
# Jupyter Notebook
16+
.ipynb_checkpoints/
17+
*.ipynb_checkpoints
18+
19+
# Virtual environments
20+
.venv/
21+
venv/
22+
ENV/
23+
24+
# IDE
25+
.idea/
26+
.vscode/
27+
*.swp
28+
*.swo
29+
30+
# OS
31+
.DS_Store
32+
Thumbs.db
33+
34+
# Secrets
35+
.env
36+
*.env

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# FAIRDOM-SEEK Tutorials
2+
3+
Tutorials for working with FAIRDOM-SEEK, built with Jupyter Book v2.
4+
5+
## View Online
6+
7+
Visit the tutorials at: https://seek4science.github.io/tutorials/
8+
9+
## Local Development
10+
11+
### Prerequisites
12+
13+
- Python 3.8+
14+
- Node.js 18+
15+
- pip
16+
17+
### Setup
18+
19+
```bash
20+
# Create a virtual environment (optional but recommended)
21+
python -m venv .venv
22+
source .venv/bin/activate # On Windows: .venv\Scripts\activate
23+
24+
# Install dependencies
25+
pip install -r requirements.txt
26+
```
27+
28+
### Build and preview locally
29+
30+
```bash
31+
# Build and start dev server
32+
jupyter-book build --html
33+
34+
# Or for local testing without base URL
35+
BASE_URL="" jupyter-book build --html
36+
```
37+
38+
The dev server starts automatically at http://localhost:3000 (or next available port).
39+
40+
### Adding new content
41+
42+
1. Create a new `.md` or `.ipynb` file in the appropriate directory
43+
2. Add the file to `myst.yml` under the `toc` section
44+
3. Build and preview locally
45+
4. Commit and push to deploy
46+
47+
## Deployment
48+
49+
The book is automatically built and deployed to GitHub Pages when changes are pushed to the `main` branch.
50+
51+
### GitHub Pages Setup
52+
53+
1. Go to repository Settings > Pages
54+
2. Under "Build and deployment", select "GitHub Actions" as the source
55+
3. The workflow will automatically deploy on push to main

images/.gitkeep

Whitespace-only changes.

images/favicon.png

6.14 KB
Loading

intro.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# UNDER DEVELOPMENT
2+
3+
This book is currently under development. Content may change frequently and is not yet complete. Please check back later for the finalized version.
4+
5+
## Welcome to FAIRDOM-SEEK Tutorials
6+
7+
This book contains tutorials and guides for working with FAIRDOM-SEEK.
8+
9+
## What is FAIRDOM-SEEK?
10+
11+
FAIRDOM-SEEK is a web-based platform for sharing heterogeneous scientific research datasets, models, simulations, processes, and research outcomes. It supports FAIR (Findable, Accessible, Interoperable, Reusable) data management principles.
12+
13+
## Contents
14+
15+
This book is organized into the following sections:
16+
17+
- **[Introduction Tutorial](tutorials/introduction.md)** - Getting started with SEEK basics
18+
- **[Advanced Tutorial](tutorials/advanced.md)** - Power user features and administration
19+
- **[API Tutorial](tutorials/api.md)** - Programmatic access via the JSON API
20+
- **Notebooks** - Interactive Jupyter notebook examples
21+
22+
## Resources
23+
24+
- [FAIRDOM-SEEK Documentation](https://docs.seek4science.org)
25+
- [FAIRDOMHub](https://fairdomhub.org) - Public SEEK instance
26+
- [FAIRDOM Community](https://fair-dom.org)
27+
- [GitHub Repository](https://github.com/seek4science/seek)

myst.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
version: 1
2+
project:
3+
title: FAIRDOM-SEEK Tutorials
4+
authors:
5+
- name:
6+
literal: FAIRDOM-SEEK
7+
github: https://github.com/seek4science/tutorials
8+
toc:
9+
- file: intro.md
10+
- title: Introduction Tutorials
11+
file: tutorials/introduction/index.md
12+
children:
13+
- file: tutorials/introduction/overview.md
14+
- file: tutorials/introduction/getting-started.md
15+
- file: tutorials/introduction/isa-structure.md
16+
- file: tutorials/introduction/uploading-data.md
17+
- file: tutorials/introduction/sharing.md
18+
- title: Advanced Tutorials
19+
file: tutorials/advanced/index.md
20+
children:
21+
- file: tutorials/advanced.md
22+
- file: tutorials/api.md
23+
- file: notebooks/example.ipynb
24+
- title: Workshops
25+
file: workshops/index.md
26+
children:
27+
- file: workshops/workshop-bioind4-2026-02.md
28+
29+
30+
site:
31+
title: FAIRDOM-SEEK Tutorials
32+
options:
33+
favicon: "./images/favicon.png"
34+
logo: "./images/favicon.png"
35+
logo_text: FAIRDOM-SEEK Tutorials
36+
base_url: /tutorials
37+
hide_footer_links: true
38+
actions:
39+
- title: GitHub
40+
url: https://github.com/seek4science/tutorials
41+
template: book-theme

references.bib

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@article{seek2015,
2+
title={SEEK: a systems biology data and model management platform},
3+
author={Wolstencroft, Katherine and others},
4+
journal={BMC Systems Biology},
5+
volume={9},
6+
number={1},
7+
pages={33},
8+
year={2015},
9+
publisher={BioMed Central}
10+
}

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jupyter-book>=2.0.0

0 commit comments

Comments
 (0)