Clean up run script

This commit is contained in:
Anthony Wang 2022-01-13 18:51:45 -06:00
parent e6325cf482
commit a39796fc55
Signed by: a
GPG key ID: BC96B00AEC5F2D76

4
run
View file

@ -5,7 +5,9 @@ cd front
npm run build
cd ../back
npm run build
echo 'Build complete'
# Run
cd ../front
npm run start -- -p 5000 | env PORT=6000 NEXT_PUBLIC_BACK_HOST='https://server.exozy.me' node ../back/dist/index.js
env NEXT_PUBLIC_BACK_HOST='https://server.exozy.me' npm run start -- -p 5000 | \
env PORT=6000 node ../back/dist/index.js