mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 02:44:01 +00:00
* Add package.json and app.json * Add yarn engine * Remove extra build command * Force install dev deps * Add deploy button and update readme
17 lines
424 B
Bash
Executable File
17 lines
424 B
Bash
Executable File
echo "building client..."
|
|
rm -rf client
|
|
git clone https://github.com/darkwire/darkwire-client.git 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 react-scripts build
|
|
cd ../
|
|
|
|
echo "building server..."
|
|
rm -rf server
|
|
git clone https://github.com/darkwire/darkwire-server.git server
|
|
cd server
|
|
yarn --production=false
|
|
yarn build |