File tree 5 files changed +7
-5
lines changed
5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 4
4
5
5
## Run it locally
6
6
7
+ Install ` node ` and ` npm ` . (For NixOS, see ` ./*.nixos.sh ` for convenience.)
8
+
7
9
```
8
- npm install
9
- ./build.sh
10
- node lib/server.js
10
+ ./run.sh
11
11
```
12
12
13
13
To allow external device access: (Note: The security of this project has not been thoroughly audited. Use at your own risk.)
Original file line number Diff line number Diff line change 1
- nix-shell --pure -p nodejs --run ./build.sh
1
+ exec nix-shell --pure -p nodejs --run ' exec ./build.sh'
Original file line number Diff line number Diff line change 1
- npm install && ./node_modules/.bin/tsc
1
+ npm install && exec ./node_modules/.bin/tsc
Original file line number Diff line number Diff line change
1
+ exec nix-shell --pure -p nodejs --run ' exec ./run.sh'
Original file line number Diff line number Diff line change
1
+ ./build.sh && exec node lib/server.js
You can’t perform that action at this time.
0 commit comments