core/script/bootstrap

15 lines
284 B
Bash
Executable File

#!/bin/sh
# Resolve all dependencies that the application requires to run.
# Stop on errors
set -e
cd "$(dirname "$0")/.."
script/bootstrap_server
if command -v yarn >/dev/null ; then
script/bootstrap_frontend
else
echo "Frontend development not possible without Node/yarn"
fi