Ce dépôt contient l'interface graphique pour Trainberry.
docker run -p 5173:5173 -e PUBLIC_SERVER_URL=<adresse_de_votre_serveur> --name trainberry_frontend a1hex/trainberry_frontend:<version>
http://localhost:5173
. 🎉docker build -t trainberry_frontend:latest .
docker run -p 5173:5173 -e PUBLIC_SERVER_URL=<adresse_de_votre_serveur> --name trainberry_frontend a1hex/trainberry_frontend:latest
http://localhost:5173
. 🎉Pour démarrer ce serveur depuis les sources, vous devez disposer de NodeJS sur votre machine.
npm install
PUBLIC_SERVER_URL
(exemple : export PUBLIC_SERVER_URL=http://localhost:8080
si le serveur Trainberry est sur la même machine).npm run dev
Aucune configuration n'est requise, hormis la variable PUBLIC_SERVER_URL
.