2021-05-08 23:20:25 +00:00
|
|
|
#!/bin/bash
|
2022-01-13 18:21:20 +00:00
|
|
|
|
|
|
|
# Build
|
2021-05-08 23:20:25 +00:00
|
|
|
cd front
|
2022-01-13 18:21:20 +00:00
|
|
|
npm run build
|
|
|
|
cd ../back
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
# Run
|
|
|
|
cd ../front
|
|
|
|
npm run start -- -p 5000 | env PORT=6000 NEXT_PUBLIC_BACK_HOST='https://server.exozy.me' node ../back/dist/index.js
|