This is the JavaScript/React client for the EWC project.
Clone ewc and this repository. It is suggested that you place the two repositories next to each other, for example:
/my/dev/directory/ewc
/my/dev/directory/ewc-client
This ensures that when running ewc, it will, by default, pick up the latest build from ewc-client automatically.
Follow the instructions for verifying an ewc installation.
When working on the JavaScript code, we use vite for hot reloading. To point to EWC on the default websocket port 22322, simply copy .env.example:
cp .env.example .env.development
Then run the vite server:
vite
For development, it's much easier to run in a browser to use all the tooling. In APL, you simply change mode from 'Desktop' to 'Browser':
demo.Run 'Browser'
Then open http://localhost:5173 (assuming default vite port). By default, this will connect a websocket over the :22322 port, as mentioned above.
We use three permanent branches in ewc-client.
main
: this code has been released.next
: this will become the nextmain
. It should be stable.devt
: this is unstable and should be considered the 'bleeding edge'.
Contributors should checkout devt, and create PRs against that branch.