Python requirements: pip install flask flask_socketio flask_cors odrive
If the default odrive python package is not desired, the path to the modules can be passed as command line arguments.
example on windows 10:
./odrive_gui_win.exe C:/Users/<you>/ODrive/tools C:/Users/<you>/ODrive/Firmware
The first argument is for your local version of odrivetool, the second is for fibre.
npm install
npm run serve
npm run lint
npm run electron:serve
npm run electron:build
npm run electron:build -- -mwl
On the devel git branch, there may be unreleased changes to dependencies like fibre or the ODrive enumerations. Use this command to launch the GUI with the dependencies from the repo:
npm run electron:serve -- ../tools/
PhantomJS is required as a dependency, so it must be installed first:
sudo apt install phantomjs
After it is installed, npm run electron:build can be used to build the AppImage for ARM