Files
dependabot[bot] 315845c5ac Bump jszip from 3.5.0 to 3.10.1 in /GUI
Bumps [jszip](https://github.com/Stuk/jszip) from 3.5.0 to 3.10.1.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/main/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.5.0...v3.10.1)

---
updated-dependencies:
- dependency-name: jszip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 17:34:00 +00:00
..
2021-06-12 11:31:13 -04:00
2021-12-03 12:27:52 -08:00

odrive_gui

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.

Development and testing instructions

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Lints and fixes files

npm run lint

Serve electron version of GUI

npm run electron:serve

Package electron app into executable

npm run electron:build

Build electron app for all platforms

npm run electron:build -- -mwl

Running from source

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/

Building for rpi and potentially other ARM platform devices

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

Customize configuration

See Configuration Reference.