- Run %volt as described in the
../README.md - Run
yarn installinsidevolt/ui - Run
vite --mode ship1/vite --mode ship2to run the UI against the.env.ship1/.env.ship2config files respectively
Alternatively, you can make your own config file by setting VITE_SHIP_URL and VITE_SHIP_NAME (e.g. for .env.ship3 run vite --mode ship3)
If you run the app in development mode like this, it will not show up in Landscape.
- Run
yarn buildinside youruidirectory, which will bundle all the code and assets into thedistfolder - Navigate to ${ship_url}/docket/upload (e.g. http://localhost/docket/upload) and upload
dist
You should then see a tile for Volt in Landscape. If you |commit %volt, the Landscape tile will show an error, and you will need to upload dist again.