Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

6 watching

Forks

Repository files navigation

Getting started

Create src/.env.development:

VITE_API_URL=https://sitn.ne.ch/apps_prepub/health

Then

npm i
npm start

Run the image locally

docker compose build
docker run --rm -p 5021:8080 -e VITE_API_URL=https://sitn.ne.ch/apps_prepub/health ne2harbor.ne.ch/sgrf/sitn-medecins:latest

Then open http://localhost:5021/

Deploy

Don't forget to add to version.html what you've done.

Start by building and pushing:

$env:TAG="1.0.<replace with version>";
docker compose build
docker compose push

Set the DOCKER_HOST environment variable and launch the build/run :

$env:DOCKER_HOST="<PATH_TO_REMOTE_HOST>"
docker compose pull
docker compose up -d

With docker compose up, pass VITE_API_URL through an environment: or env_file: entry in docker-compose.yaml

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages