This project is the development environment for a web app for the polypro group @ EMPA
To work on the project, you need the following tools installed:
- Docker with docker compose
- Taskfile
- Gradle
- Jq
- Yarn
The project is managed using taskfile
- Checkout this project from git
- Install taskfile, gradle and jq
- Go on the instance-io project here and get an API token
- Store the token in env under
TOKEN
- Add your admin username and password from the openBIS instance 402 in env under
OPENBIS_SOURCE_USER
andOPENBIS_SOURCE_PASSWORD
- Run
task dev
. If you prefer to have your vite development server in a docker container, you can usetask 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
.
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.