44 lines
1.2 KiB
Markdown
44 lines
1.2 KiB
Markdown
# manager_app
|
||
|
||
A new Flutter application.
|
||
|
||
## Getting Started
|
||
|
||
This project is a starting point for a Flutter application.
|
||
|
||
A few resources to get you started if this is your first Flutter project:
|
||
|
||
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
|
||
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
|
||
|
||
For help getting started with Flutter, view our
|
||
[online documentation](https://flutter.dev/docs), which offers tutorials,
|
||
samples, guidance on mobile development, and a full API reference.
|
||
|
||
# Ancienne version de generation = Model generation via command line
|
||
|
||
java -cp openapi-generator-cli-5.1.0.jar org.openapitools.codegen.OpenAPIGenerator generate -i swagger.yaml --additional-properties pubName=managerapi -g dart --enable-post-process-file
|
||
|
||
# OPENAPI Generation cmd
|
||
|
||
flutter clean
|
||
|
||
flutter pub get
|
||
|
||
flutter pub run build_runner build --delete-conflicting-outputs
|
||
|
||
Le fichier est dans le projet.
|
||
|
||
# Publication sur docker
|
||
|
||
docker build -t flutter-web .
|
||
|
||
Pour tester en local :
|
||
docker run -d -p 8080:80 –name flutter-web flutter-web
|
||
|
||
Image tag:
|
||
docker image tag flutter-web registry.unov.be/mymuseum/manager:latest
|
||
|
||
Docker push:
|
||
docker image push registry.unov.be/mymuseum/manager:latest
|