blob: 1a04c7754c54b64ee876fcc11eeea0b02b3568e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/bash
# Environment variable
export NEXT_PUBLIC_BACK_HOST='https://game.exozy.me'
export FRONT_PORT=1950
export PORT=1951
# Build
cd front
npm run build
cd ../back
npm run build
echo 'Build complete'
# Run
cd ../front
npm run start -- -p $FRONT_PORT | node ../back/dist/index.js
|