diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2023-04-13 18:51:09 +0200 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2023-04-13 18:51:09 +0200 |
| commit | 911d2fc05833fb2095f3032c34063bfd6da113fa (patch) | |
| tree | 0db720cc3d341e28ecef36d98e68978b61b3ab06 /start-node | |
| parent | 1df1ff6f074528a4ad6d4015c794a1555c1c942f (diff) | |
| download | fia-911d2fc05833fb2095f3032c34063bfd6da113fa.tar.gz fia-911d2fc05833fb2095f3032c34063bfd6da113fa.tar.zst fia-911d2fc05833fb2095f3032c34063bfd6da113fa.zip | |
Relicense
Add features to Readme
Add start scripts
Diffstat (limited to 'start-node')
| -rwxr-xr-x | start-node | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/start-node b/start-node new file mode 100755 index 0000000..eede0b0 --- /dev/null +++ b/start-node @@ -0,0 +1,8 @@ +#!/bin/sh +export SESSION_KEY="zaq1@WSX" + +api_key="$(awk '/api/ { print $3 }' public/php/dbCredentials.php)" +api_key="${api_key#'"'}" +api_key="${api_key%'";'}" + +API_KEY="$api_key" pnpm dev |
