Added README
This commit is contained in:
parent
3b00c6498a
commit
0ec698371e
2 changed files with 20 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1 +1,3 @@
|
||||||
node_modules
|
node_modules
|
||||||
|
dist
|
||||||
|
*.js
|
17
README.md
Normal file
17
README.md
Normal 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
|
||||||
|
```
|
Reference in a new issue