The Tank Controller Manager (TCM) works to monitor, operate, and consolidate multiple tank controllers. A tank controller regulates tank pH through CO2 addition and temperature. The purpose of the TCM is to allow over-the-network access to tank controllers while facilitating research by reporting data. Created in Flutter with the programming language Dart, the TCM runs on virtually every main platform.
The web application is built automatically on each commit to main and can be viewed here.
- Open a terminal and run
flutter build web
- Navigate to TankControllerManager/build/web and run
python -m http.server 8000
https://docs.flutter.dev/deployment/android
- Open a terminal and run
keytool -genkey -v -keystore c:\key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 1000 -alias upload
- Create a file named TankControllerManager/android/key.properties and in it
storePassword=<password from step one>
keyPassword=<password from step one>
keyAlias=<alias from step one>
storeFile=<location of output from step one, may require double backslashes '\\' in file path, c:\\key.jks>
- Run
flutter build appbundle
- Open a terminal and run
flutter build apk --split-per-abi
- Ensure Android Studio, Android SDK, Android SDK Platform-Tools, and Android SDK Build-Tools, are all updated. Run
flutter doctor
- Enable developer options and USB debugging on the device.
- Once plugged in, run
flutter devices
- Finally run
flutter run -d deviceID