mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 02:12:40 +01:00
12 lines
242 B
Bash
12 lines
242 B
Bash
|
#!/usr/bin/env nix-shell
|
||
|
#!nix-shell -i "bash -x" -p bash jq git nodejs
|
||
|
npm i
|
||
|
npm run setup || exit 1
|
||
|
|
||
|
export OWD="$PWD"
|
||
|
export NWD="`mktemp -d`"
|
||
|
echo "Src dir: $OWD"
|
||
|
echo "Exec dir: $NWD"
|
||
|
|
||
|
#NODE_PATH="$OWD/dist"
|
||
|
node "$OWD/dist/api/start.js"
|