Skip to content

sitn/sitn-luftbilder

Repository files navigation

SITN Luftbilder

About

This app is used to overlay swisstopo aerial imagery with the SITN basemap.

The base URL requires three parameters:

Hence, the called URL would be something like:

Getting started

Start a terminal (e.g. Windows PowerShell) and navigate to the project directory:

cd sitn-luftbilder

Copy the sample environment file and rename it to .env:

cp .env.sample .env

Note: the environment variables are prefixed with VITE_ as required by Vite for client-side usage. Modify them if needed.

Install using npm:

npm install

Build the app with:

npm run build

Run the app locally (on localhost) with:

npm start

Docker deployment

To just build locally:

cp .env.sample .env
docker compose build

To build and run locally:

docker compose up -d --build

To build and run on remote server:

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

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •