aboutsummaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-28 23:22:15 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-28 23:22:15 +0300
commit9d952483f250a97cbeab4061fa1c4e68341b330f (patch)
tree9d094911dc5178db9375eaa661e7f4bf0d5bf2cc /run.sh
parent35b06b4fc851192916e000ad5e7e2f458846448c (diff)
posting thread and image works
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