aboutsummaryrefslogtreecommitdiff
path: root/run
blob: d6547293772eef40aa92b25e81714b8c117b75db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Build
cd front
npm run build
cd ../back
npm run build
echo 'Build complete'

# Run
cd ../front
env NEXT_PUBLIC_BACK_HOST='https://server.exozy.me' npm run start -- -p 5000 | \
env PORT=6000 node ../back/dist/index.js