Sfoglia il codice sorgente

More ghost dependencies

Bob Mottram 7 anni fa
parent
commit
2ac25c167b
1 ha cambiato i file con 14 aggiunte e 2 eliminazioni
  1. 14
    2
      src/freedombone-app-ghost

+ 14
- 2
src/freedombone-app-ghost Vedi File

@@ -458,7 +458,19 @@ function install_ghost {
458 458
     npm install jsonpath@0.2.11
459 459
     npm install image-size@0.5.4
460 460
     npm install passport-oauth2-client-password@0.1.2
461
-    npm install -g passport-http-bearer@1.0.1
461
+    npm install passport-http-bearer@1.0.1
462
+    npm install amperize@0.3.4
463
+    npm install bcryptjs@2.4.3
464
+    npm install knex@0.12.9
465
+    npm install bookshelf@0.10.2
466
+    npm install cookie-session@1.2.0
467
+    npm install ghost-gql@0.0.6
468
+    npm install intl@1.2.5
469
+    npm install sanitize-html@1.14.1
470
+    npm install showdown-ghost@0.3.6
471
+    npm install superagent@3.5.2
472
+    npm install mysql@2.1.1
473
+
462 474
     npm install --production
463 475
 
464 476
     function_check install_mariadb
@@ -473,7 +485,7 @@ function install_ghost {
473 485
     ghost_create_config
474 486
 
475 487
     adduser --system --home=/var/www/${GHOST_DOMAIN_NAME}/htdocs/ --group ghost
476
-    chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs/
488
+    chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs
477 489
 
478 490
     echo '[Unit]' > /etc/systemd/system/ghost.service
479 491
     echo 'Description=Ghost Blog' >> /etc/systemd/system/ghost.service