Administration application for leto-modelizer.
- node - v18.14
- npm - v8.19.3
This server is based on Quasar.
To get started with leto-modelizer-admin using Docker, follow these steps:
If you don't have Docker installed on your system, you can download and install it from the official website for your operating system:
Open your terminal or command prompt and clone the project repository to your machine:
git clone git@github.com:ditrit/leto-modelizer-admin.git
cd leto-modelizer-admin
We are using Leto-Modelizer-Api authentication (as a backend). To configure it, you must fill the configuration inside global.config.json
root file.
{
"backendUrl": "https://localhost:8443",
"backendAppId": "leto-modelizer-api-dev",
"letoModelizerUrl": "http://localhost:8080",
"inputDebounceTime": 1000
}
Here's a description of each key in the provided configuration:
backendUrl
: the url of the backend, this field is mandatory.backendAppId
: the application ID of the backend, this field is mandatory.letoModelizerUrl
: the url of the leto-modelizer application, this field is mandatory.inputDebounceTime
: debounce time for filters input, default time is 1000ms.
Run this command to build the app:
npm run build
It will generate the built application in the dist
folder.
To build this app with docker, please use this command:
docker build . -t leto-modelizer-admin