Skip to content

ToLQC API and website. This is a mirror of the GitLab repository - please don't commit to this repo.

Notifications You must be signed in to change notification settings

sanger-tol/tolqc

Repository files navigation

Running with K8S

To run locally, or even remotely manually, follow the instruction below. You will need a file set up with the necessary environment variables. Let's call this values-dev.yaml:

helm install --values values-dev.yaml tolqc-app

Running with Docker

To run the app on a Docker container, first you will need to set up a file with the necessary environment variables. Let's call this .env.dev (there is a template file .env.template you can use as a template!). Then, execute the following from the root directory:

# running the app (devlopment) - N.B. database will need initialising
docker-compose --env-file .env.dev up --build --abort-on-container-exit tolqc-api tolqc-ui tolqc-db

# Running API tests
docker-compose --env-file .env.dev up --build --abort-on-container-exit tolqc-api-test

# Running UI tests (watch mode)
docker-compose --env-file .env.dev up --build --abort-on-container-exit tolqc-ui-test

Everything for staging and prod is built/tested/deployed via GitLab. Commit to the staging or production branch to trigger the pipeline.

About

ToLQC API and website. This is a mirror of the GitLab repository - please don't commit to this repo.

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published