aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2022-01-13 18:51:45 -0600
committerAnthony Wang2022-01-13 18:51:45 -0600
commita39796fc55ddbd2588146f36e674a56546a7a6dc (patch)
tree1e2343be0607b436182ebbc74130f702363fa27b
parente6325cf482abeedcb8c4e4682a806ff0f45e9246 (diff)
Clean up run script
-rwxr-xr-xrun4
1 files changed, 3 insertions, 1 deletions
diff --git a/run b/run
index a51ef12..d654729 100755
--- a/run
+++ b/run
@@ -5,7 +5,9 @@ cd front
npm run build
cd ../back
npm run build
+echo 'Build complete'
# Run
cd ../front
-npm run start -- -p 5000 | env PORT=6000 NEXT_PUBLIC_BACK_HOST='https://server.exozy.me' node ../back/dist/index.js
+env NEXT_PUBLIC_BACK_HOST='https://server.exozy.me' npm run start -- -p 5000 | \
+env PORT=6000 node ../back/dist/index.js