First commit in rust
This commit is contained in:
24
backchannel-web/README.md
Normal file
24
backchannel-web/README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# BackChannel Web
|
||||
|
||||
React + TypeScript browser client for BackChannel.
|
||||
|
||||
## Development
|
||||
|
||||
```powershell
|
||||
cd backchannel-web
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Default WebSocket target in the app is `ws://<host>:7777` and can be changed from the UI.
|
||||
|
||||
## Build for Embedded Server
|
||||
|
||||
```powershell
|
||||
cd backchannel-web
|
||||
npm install
|
||||
npm run build
|
||||
```
|
||||
|
||||
The Rust server embeds files from `backchannel-web/dist` at compile time.
|
||||
Rebuild the Rust server after producing a new web build.
|
||||
Reference in New Issue
Block a user