- IDR Screen Data: IDR Screen 2451
- IC50 Notebook for SARS-CoV-2 Data:
- S-BSST522 Image Gallery: EBI Image Gallery
- BIA Explorer Visualisation Notebook:
- BIA Explorer GitHub Repository: GitHub - BIA Explorer
- BIA Training Repository: GitHub - BIA Training
- BIA BMZ Integration: GitHub - BIA BMZ Integration
- BioImage Archive Notebooks: GitHub - BioImage Archive Notebooks
This repository contains the materials for deploying the BIA Binder, including the codebase and relevant supplementary files. The repository is currently aimed at deploying to Embassy Cloud and has historically also worked with DeNBI Cloud.
-
Clone the repository:
git clone https://github.com/yourusername/bia-binder.git cd bia-binder
-
Install the necessary tools: 2.i Install Helm: Follow the instructions on the Helm page 2.ii Install Helmsman: Follow the instructions on the Helmsman GitHub page to install Helmsman on your system. 2.iii Install helm-diff plugin:
helm plugin install https://github.com/databus23/helm-diff
To deploy the application to different environments, you can use the Makefile. The Makefile supports deployment to prod
, dev
, and local
environments for different variants: embassy
, denbi
, and minikube
.
-
Deploy to production:
make embassy.prod make denbi.prod make minikube.prod
-
Deploy to development:
make embassy.dev make denbi.dev make minikube.dev
-
Deploy to local environment:
make embassy.local make denbi.local make minikube.local
-
Generate htpassword file:
make htpassword
Create a .env
file in the root directory of the repository with the following structure:
# Generic .env file example
# CI/CD Configuration
CI_REGISTRY_IMAGE="bioimagearchive/binder-"
CI_REGISTRY_URL="https://registry.binder.bioimagearchive.org"
HOST_NAME="binder.bioimagearchive.org"
KUBECONFIG="kube/embassy.config"
CI_REGISTRY_USER=ctr26
CI_REGISTRY_PASSWORD=4c16f763-****-****-****-80ec19d2f840
# Secret keys (values obfuscated for security)
SECRET_ELIXIR_CLIENTID=********-****-****-****-************
SECRET_ELIXIR_CLIENTSECRET=********-****-****-****-************
SECRET_HUB_PASSWORD=1e54cdb91f9c78d3f93a577b90567771ad076424ab24470192cc0776a3d45bd5
SECRET_JUPYTERHUB_PROXY_TOKEN=1e54cdb91f9c78d3f93a577b90567771ad076424ab24470192cc0776a3d45bd5
SECRET_BINDERHUB_SERVICE=569d94fdabd71bf88452db33782e4fa1881241764226e3038aedf6ec2cce1aa1
SECRET_GITHUBREPOPROVIDER=ghp_************-**********
SECRET_PROMETHEUS_AUTH_HTPASSWD=
# AAI Configuration
AAI_CLIENT_ID="cfac1c45-ab70-4596-b5b6-d1d92cf8ce3b"
AAI_CLIENT_SECRET="c064871e-****-****-****-f82b1ad6e2c6"