From 72ddf229ecbad6e2ff0aa70d14960e362e7a79a6 Mon Sep 17 00:00:00 2001 From: ashley zomo Date: Thu, 27 Jan 2022 19:39:14 -0600 Subject: [PATCH] added unix installation scripts --- .gitignore | 3 ++- scripts/lin/install.sh | 5 +++++ scripts/lin/start.sh | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 scripts/lin/install.sh create mode 100644 scripts/lin/start.sh diff --git a/.gitignore b/.gitignore index d7ce76c..c296fce 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -token \ No newline at end of file +token +.DS_Store \ No newline at end of file diff --git a/scripts/lin/install.sh b/scripts/lin/install.sh new file mode 100755 index 0000000..dd57fe3 --- /dev/null +++ b/scripts/lin/install.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +cd $( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +cd ../.. +npm install \ No newline at end of file diff --git a/scripts/lin/start.sh b/scripts/lin/start.sh new file mode 100644 index 0000000..c99b1e8 --- /dev/null +++ b/scripts/lin/start.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +cd $( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +cd ../.. +npm start \ No newline at end of file