Commit 8aa971b3 authored by Crow, Michael C's avatar Crow, Michael C
Browse files

added netstat check and moved db check into one

parent 0290c66e
......@@ -3,10 +3,14 @@
if ! `which -s netstat`; then
echo "Unable to verify Tomcat"
echo "Unable to verify a running database"
else
netstat -an | grep 8080 > /dev/null \
&& echo "[verified] Tomcat" \
|| echo "Tomcat not found on port 8080 - this could cause the installation to fail"
netstat -an | grep 3306 > /dev/null \
&& echo "MySQL database found on port 3306" \
|| echo "No database found running on port 3306 - this could cause the installation to fail"
fi
verify_installed() {
......@@ -27,10 +31,6 @@ if [[ "$version" < "1.8" ]]; then
exit 1
fi
netstat -an | grep 3306 > /dev/null \
&& echo "MySQL database found on port 3306" \
|| echo "No database found running on port 3306 - this could cause the installation to fail"
cd app
npm install
./node_modules/.bin/vue-cli-service build --mode production
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment