Add output during build on launch

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2023-01-20 17:28:57 -08:00
parent ef827cefa7
commit 266ce00d33

View File

@ -31,18 +31,22 @@ if [[ -z "${DEVELOPMENT}" ]]; then
else
echo "Running in DEVELOPMENT mode."
if [[ ! -d /website/frontend/bower_components ]]; then
echo "...installing bower_components for frontend"
cd /website/frontend
npx -y bower --allow-root -y install || fail "Unable to install frontend"
fi
if [[ ! -d /website/client/node_modules ]]; then
echo "...installing node_modules for client"
cd /website/client
npm install || fail "Unable to install client"
fi
if [[ ! -d /website/node_modules ]]; then
echo "...installing node_modules for base website"
cd /website
npm install || fail "Unable to install website"
fi
if [[ ! -d /website/server/node_modules ]]; then
echo "...installing node_modules for server"
cd /website/server
npm install || fail "Unable to install server"
fi