aboutsummaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/run.sh b/run.sh
index dcb7dd5..b10db49 100755
--- a/run.sh
+++ b/run.sh
@@ -1,11 +1,11 @@
#!/bin/sh
+cd ${0%/*} # go to project root
set -xe
-NODE_TLS_REJECT_UNAUTHORIZED=0 npm run dev
+# NODE_TLS_REJECT_UNAUTHORIZED=0 npm run dev -- --host
-# npm run build
-
-# NODE_TLS_REJECT_UNAUTHORIZED=0 node server.mjs
+npm run build
+NODE_TLS_REJECT_UNAUTHORIZED=0 node server.mjs
# deno run --allow-net --allow-read --allow-env --unsafely-ignore-certificate-errors=localhost ./dist/server/entry.mjs