More ghost dependencies

This commit is contained in:
Bob Mottram 2017-06-06 13:24:57 +01:00
parent 7e16a88f7e
commit 2ac25c167b
1 changed files with 14 additions and 2 deletions

View File

@ -458,7 +458,19 @@ function install_ghost {
npm install jsonpath@0.2.11
npm install image-size@0.5.4
npm install passport-oauth2-client-password@0.1.2
npm install -g passport-http-bearer@1.0.1
npm install passport-http-bearer@1.0.1
npm install amperize@0.3.4
npm install bcryptjs@2.4.3
npm install knex@0.12.9
npm install bookshelf@0.10.2
npm install cookie-session@1.2.0
npm install ghost-gql@0.0.6
npm install intl@1.2.5
npm install sanitize-html@1.14.1
npm install showdown-ghost@0.3.6
npm install superagent@3.5.2
npm install mysql@2.1.1
npm install --production
function_check install_mariadb
@ -473,7 +485,7 @@ function install_ghost {
ghost_create_config
adduser --system --home=/var/www/${GHOST_DOMAIN_NAME}/htdocs/ --group ghost
chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs/
chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs
echo '[Unit]' > /etc/systemd/system/ghost.service
echo 'Description=Ghost Blog' >> /etc/systemd/system/ghost.service