aboutsummaryrefslogtreecommitdiff
path: root/run.sh
blob: b10db49ea48fba5853a279a53bb7bcf2bbeaa3d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

cd ${0%/*} # go to project root
set -xe

# NODE_TLS_REJECT_UNAUTHORIZED=0 npm run dev -- --host

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