This repository contains the web frontend as well as the Electron based desktop client, which builds upon that frontend.
yarn install # Install dependencies
yarn dev # Run the frontend on localhost:3000
You can also specify the API host that the frontend should use as well as if secure connections should be used (https, wss) as environment variables. E.g. on UNIX systems:
API_HOST=dev.wotw.orirando.com API_SECURE=true yarn dev
The API host will default to 127.0.0.1:8081
and secure connections are disabled by default, which matches the default configuration for ori-rando/wotw-server
.
In addition to running the web frontend, to launch the desktop client, run:
cd electron
yarn electron:serve
If you want to test features that require the randomizer executables to be present (such as launching the randomizer), you need to copy the randomizer
directory from your Ori Randomizer installation to electron/work-dir
(that directory does not exist by default and will be created when launching the desktop client for the first time).