This app requires server from another repo to run - vhome-server
To compile this application an .env file is required. It must contain the server address for the release target. An example .env file:
APIURL="your.server.address"
Nevertheless, for the debug target the address is 127.0.0.1:8080
. This can be changes in the packages/vhome_web_api/lib/src/api/url.dart
.
You will need flutter toolchain installed - instruction here.
- Run the application
flutter run
- Build the application
flutter build apk --release
- Install on mobile device
- Using target device compile the app with
flutter build linux --release --target lib/main_display.dart
- Kiosk mode can be enabled using snapp_installer project. More details in the project repository.
Part of the vhome_web_api
library code was generated. After changing the model files you should type the command in the packages/vhome_web_api
directory:
dart run build_runner build