darkwire.io/build.sh
2019-05-12 16:35:30 -04:00

15 lines
264 B
Bash
Executable File

yarn setup
echo "building client..."
cd client
yarn --production=false
REACT_APP_API_HOST=$API_HOST \
REACT_APP_API_PROTOCOL=$API_PROTOCOL \
REACT_APP_API_PORT=$API_PORT \
yarn build
cd ../
echo "building server..."
cd server
yarn --production=false
yarn build