OpenCloud flutter front-end
Go to file
2024-08-27 15:38:50 +02:00
.dart_tool intermediate 2024-08-08 08:42:32 +02:00
android oc-search porting to flutter (missing compose + workflow editor) 2024-07-05 09:24:40 +02:00
assets/images oc-search porting to flutter (missing compose + workflow editor) 2024-07-05 09:24:40 +02:00
build intermediate 2024-08-08 08:42:32 +02:00
ios oc-search porting to flutter (missing compose + workflow editor) 2024-07-05 09:24:40 +02:00
lib ws 2024-08-27 15:38:50 +02:00
library/flutter_flow_chart Shared WS 2024-08-27 15:38:21 +02:00
linux Dashboard chart flow 2024-07-17 13:28:02 +02:00
macos Dashboard chart flow 2024-07-17 13:28:02 +02:00
test oc-search porting to flutter (missing compose + workflow editor) 2024-07-05 09:24:40 +02:00
web oc-search porting to flutter (missing compose + workflow editor) 2024-07-05 09:24:40 +02:00
windows Dashboard chart flow 2024-07-17 13:28:02 +02:00
.flutter-plugins intermediate 2024-08-08 08:42:32 +02:00
.flutter-plugins-dependencies intermediate 2024-08-08 08:42:32 +02:00
.gitignore UI debugging + git ignore 2024-08-22 15:46:16 +02:00
analysis_options.yaml oc-search porting to flutter (missing compose + workflow editor) 2024-07-05 09:24:40 +02:00
docker-compose.yml Dashboard chart flow 2024-07-17 13:28:02 +02:00
Dockerfile UI debugging + git ignore 2024-08-22 15:46:16 +02:00
oc_front.iml oc-search porting to flutter (missing compose + workflow editor) 2024-07-05 09:24:40 +02:00
pubspec.lock missing pubspec 2024-08-22 15:47:25 +02:00
pubspec.yaml missing pubspec 2024-08-22 15:47:25 +02:00
README.md Dashboard chart flow 2024-07-17 13:28:02 +02:00

oc_front

OpenCloud flutter frontend.

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:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Install for local development

Install flutter

Our flutter version (in dockerfile & during development) is set to : 3.19.6 FLUTTER SDK PATH : /usr/local/flutter

  • With snap (linux only) : sudo snap install flutter --classic
  • With git (windows + linux) : git clone https://github.com/flutter/flutter.git -b <FLUTTER VERSION> <FLUTTER SDK PATH> export PATH="$PATH:<FLUTTER SDK PATH>/bin:<FLUTTER SDK PATH>/bin/cache/dart-sdk/bin"

Install flutter project dependencies

At the root of the project :

  • flutter clean
  • flutter pub get

Run

Run locally (dev mode)

At the root of the project : flutter run

Run containerized with Docker (aligned with OC stack)

For development purpose open a chrome without CORS : google-chrome --disable-web-security At the root of the project : - docker build . -t oc-front if localisation services change : docker build -t oc-front --build-arg WORKSPACE_HOST=<SERVICE URL> --build-arg WORKFLOW_HOST=<SERVICE URL> --build-arg SEARCH_HOST=<SERVICE URL> --build-arg ITEM_HOST=<SERVICE URL> .

- `docker-compose up -d --build --force-recreate`