From 6ddfd8580bb33cbb53a0ccc6265290fd97469133 Mon Sep 17 00:00:00 2001 From: James Shiffer Date: Tue, 6 Feb 2024 23:23:54 +0000 Subject: [PATCH] Startup script --- .env | 2 +- .gitignore | 1 + start.sh | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 start.sh diff --git a/.env b/.env index 2fc80e3..a8a6553 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -PORT=3000 +PORT=5555 diff --git a/.gitignore b/.gitignore index 79e658c..0c62001 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ **/.env **/*.js **/*.js.map +**/nohup.out # Logs logs diff --git a/start.sh b/start.sh new file mode 100755 index 0000000..c76e267 --- /dev/null +++ b/start.sh @@ -0,0 +1,4 @@ +#!/bin/bash +nohup npm start & +cd discord +nohup npm start