Added README

This commit is contained in:
Filip Znachor 2022-06-08 22:11:07 +02:00
parent 3b00c6498a
commit 0ec698371e
2 changed files with 20 additions and 1 deletions

4
.gitignore vendored
View file

@ -1 +1,3 @@
node_modules
node_modules
dist
*.js

17
README.md Normal file
View file

@ -0,0 +1,17 @@
# on-demand-proxy
A simple proxy that starts and stops backend instances
## Packaging
Transpile TypeScript to JavaScript
```
tsc
```
Create binaries for x64 / arm64 / arm32
```
pkg index.js -o dist/on-demand-proxy-x64 -t node16-linux-x64 --no-bytecode --public-packages "*" --public
pkg index.js -o dist/on-demand-proxy-arm64 -t node16-linux-arm64 --no-bytecode --public-packages "*" --public
pkg index.js -o dist/on-demand-proxy-arm32 -t node14-linux-armv6 --no-bytecode --public-packages "*" --public
```