Skip to content

sitn/docsonmaps

Repository files navigation

Getting started

npm i
npm start

Deploy

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

Create a .env.prod file and set your vars like:

VITE_BASE_URL=/path/to/your/app
VITE_API_URL=your.backend.com/apps/health

For some reason, env.prod has to be in src directory and at the root of the project.

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

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