Skip to content

empa-scientific-it/openbis-chef

Repository files navigation

Webapp development for Polypro - 402

Introduction and Motivation

This project is the development environment for a web app for the polypro group @ EMPA

Requirements

To work on the project, you need the following tools installed:

  • Docker with docker compose
  • Taskfile
  • Gradle
  • Jq
  • Yarn

Workflows

Initialize project for local development

The project is managed using taskfile

  1. Checkout this project from git
  2. Install taskfile, gradle and jq
  3. Go on the instance-io project here and get an API token
  4. Store the token in env under TOKEN
  5. Add your admin username and password from the openBIS instance 402 in env under OPENBIS_SOURCE_USER and OPENBIS_SOURCE_PASSWORD
  6. Run task dev. If you prefer to have your vite development server in a docker container, you can use task dev-docker instead.

In case of problems, you should manually download instance-io here and place it in the root of the project with the name instance-io.jar.

Env file

To run the project, you need a .env file in the top level. The file should contain the following variables:

#Openbis source username and password(402 server)
OPENBIS_SOURCE_USER=
OPENBIS_SOURCE_PASSWORD=
##Openbis local server
OPENBIS_URL=localhost
OPENBIS_PORT=8445
OPENBIS_PASSWORD=changeit
OPENBIS_USER=admin
#CI/CD token to get the instanceio package
TOKEN=

Modify the entries according to your configuration.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published