summaryrefslogtreecommitdiff
path: root/client/startup.sh
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2020-01-01 10:57:19 +0100
committertomsmeding <tom.smeding@gmail.com>2020-01-01 11:37:40 +0100
commit6fb4351cafd1abdcc073580f29303f3a6df002f7 (patch)
treee133ed6e5df1684b47fd8cfd7a2f5bb01c309120 /client/startup.sh
parent7aae0482a1c2a984b634a9eec9aabcfe4efec369 (diff)
Split up client/server in separate npm packages (1.0.2)
Diffstat (limited to 'client/startup.sh')
-rwxr-xr-xclient/startup.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/startup.sh b/client/startup.sh
new file mode 100755
index 0000000..a9ee756
--- /dev/null
+++ b/client/startup.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+cd "$(dirname "$0")"
+
+echo "Enter username \n password \n"
+IFS="" read username
+IFS="" read -s password
+printf "%s\n%s\n" "$username" "$password" | nohup ./client.js >client.out 2>&1 &
+echo $!
+disown