Skip to content

INTERSECT-SDK/carpentry-ihub-intersect

Repository files navigation

Carpentry Lesson for iHub and Interconnected Science Ecocystem (INTERSECT)

This lesson is a template lesson that uses The Carpentries Workbench.

Website: https://intersect-sdk.github.io/carpentry-ihub-intersect/

Local development & CI checks using Docker

You can validate the lesson locally without installing R by using the official Carpentries sandpaper Docker image.

Check the lesson:

docker run --rm \
  -v "$(pwd):/lesson" \
  -w /lesson \
   ghcr.io/carpentries/workbench-docker:latest \
  Rscript -e "library(sandpaper); sandpaper::check_lesson('.')"

Full local build:

docker run --rm \
  -v "$(pwd):/lesson" \
  -w /lesson \
   ghcr.io/carpentries/workbench-docker:latest \
  Rscript -e "library(sandpaper); sandpaper::build_lesson('.')"

Live preview server (auto-reloads on file changes):

docker run --rm \
  -v "$(pwd):/lesson" \
  -w /lesson \
  -p 4321:4321 \
   ghcr.io/carpentries/workbench-docker:latest \
  Rscript -e "sandpaper::serve(host = '0.0.0.0', port = '4321', quiet = FALSE)"

Then open http://localhost:4321 in your browser. The site updates automatically whenever you save a source file.

About

Carpenty-style Lesson for using iHub and connecting an INTERSECT Service using the SDK

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors