mirror of
https://github.com/sitn/sitn_stationnements.git
synced 2026-08-26 00:14:20 +00:00
Read-only mirror of https://github.com/sitn/sitn_stationnements — Canton de Neuchâtel. Issues & pull requests at the source.
- JavaScript 68.1%
- Vue 26%
- CSS 5.5%
- Dockerfile 0.3%
- HTML 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| doc | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| httpd.conf | ||
| index.html | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
SITN Stationnements
About
This app is used to compute the number of car parkings in construction projects.
Getting started
Start a terminal (e.g. Windows PowerShell)
Install Vite globally using npm:
npm i vite -g
Set the working directory to the project directory (sitn_stationnements)
Build the app with:
vite build
Run the app locally (on localhost) with:
vite
Docker deployment
To just build locally:
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