An open API service indexing awesome lists of open source software.

https://github.com/plasmabio/template-bash

Plasma template environment for Bash
https://github.com/plasmabio/template-bash

bash jupyter linux

Last synced: 3 months ago
JSON representation

Plasma template environment for Bash

Awesome Lists containing this project

README

          

# Template materials in Bash

Example repository to create an environment with course materials in Bash.

## Try it on Binder

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/plasmabio/template-bash/master?urlpath=%2Flab/)

## Structure of the repo

This repository is based on the [binder-examples/conda](https://github.com/binder-examples/conda) example.

[`repo2docker`](https://repo2docker.readthedocs.io) is the underlying tool that is used to build an environment from a repository.

`repo2docker` can be configured with several types of files. In the case of this repo:

- `binder/environment.yml`: specify dependencies that will be installed using `conda`
- `binder/apt.txt`: specify dependencies that will be installed using `apt`
- `binder/postBuild`: specify extra dependencies such as JupyterLab extensions and activate the [Bash kernel](https://github.com/takluyver/bash_kernel)

Once created, the environment can be reused without building it again.

For more information, see the [extensive rep2docker documentation](https://repo2docker.readthedocs.io).

## Materials

Materials can be added anywhere to this repository, either at the top level or in subdirectory.

When building the environment, the materials (and any other file) will be copied to the Docker image.

In this example, there is a test notebook available: `example-notebook.ipynb`.