Browse Source

Install turtl app

Bob Mottram 8 years ago
parent
commit
38ce7665d1
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/freedombone-app-turtl

+ 5
- 0
src/freedombone-app-turtl View File

@@ -695,6 +695,11 @@ function install_turtl_app {
695 695
 
696 696
     set_completion_param "turtl domain" "$TURTL_DOMAIN_NAME"
697 697
 
698
+    cd /var/www/$TURTL_DOMAIN_NAME/htdocs
699
+    npm install
700
+    make minify
701
+    chown -R turtl:turtl /var/www/$TURTL_DOMAIN_NAME/htdocs
702
+
698 703
     function_check create_site_certificate
699 704
     create_site_certificate $TURTL_DOMAIN_NAME 'yes'
700 705