From 38ce7665d1153b00ff961d66877794d8145b1916 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 18 Dec 2016 15:54:20 +0000 Subject: [PATCH] Install turtl app --- src/freedombone-app-turtl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/freedombone-app-turtl b/src/freedombone-app-turtl index 46edf9fd..15c62e6b 100755 --- a/src/freedombone-app-turtl +++ b/src/freedombone-app-turtl @@ -695,6 +695,11 @@ function install_turtl_app { set_completion_param "turtl domain" "$TURTL_DOMAIN_NAME" + cd /var/www/$TURTL_DOMAIN_NAME/htdocs + npm install + make minify + chown -R turtl:turtl /var/www/$TURTL_DOMAIN_NAME/htdocs + function_check create_site_certificate create_site_certificate $TURTL_DOMAIN_NAME 'yes'