aboutsummaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorAnthony Wang2021-05-08 18:20:25 -0500
committerAnthony Wang2021-05-08 18:20:25 -0500
commit89507279cfa49e94d2d635df0b6210b5a188336b (patch)
treedc42355b93ab5c48f921ac72d01d6e9d7bda78ad /run
parentc3a604c9526143c742dc01c62c047c904fc6885a (diff)
Add run script
Diffstat (limited to 'run')
-rwxr-xr-xrun5
1 files changed, 5 insertions, 0 deletions
diff --git a/run b/run
new file mode 100755
index 0000000..ab82638
--- /dev/null
+++ b/run
@@ -0,0 +1,5 @@
+#!/bin/bash
+source ./env
+./build
+cd front
+npm run start -- -p 5000 | sudo -E node ../back/dist/index.js