Some extra packages for ghost
This commit is contained in:
parent
01e5748db7
commit
74cb0c0493
|
@ -260,8 +260,8 @@ function restore_local_ghost {
|
|||
MARIADB_PASSWORD=
|
||||
|
||||
# install any missing packages
|
||||
cd /var/www/${GHOST_DOMAIN_NAME}/htdocs
|
||||
if [ ! -d /var/www/${GHOST_DOMAIN_NAME}/htdocs/node_modules/intl ]; then
|
||||
cd /var/www/${GHOST_DOMAIN_NAME}/htdocs
|
||||
npm install passport-http-bearer@1.0.1
|
||||
npm install amperize@0.3.4
|
||||
npm install bcryptjs@2.4.3
|
||||
|
@ -275,6 +275,10 @@ function restore_local_ghost {
|
|||
npm install superagent@3.5.2
|
||||
npm install mysql@2.1.1
|
||||
fi
|
||||
if [ ! -d /var/www/${GHOST_DOMAIN_NAME}/htdocs/node_modules/debug ]; then
|
||||
npm install debug@2.6.8
|
||||
npm install nconf@0.8.4
|
||||
fi
|
||||
|
||||
systemctl start ghost
|
||||
restart_site
|
||||
|
@ -554,6 +558,8 @@ function install_ghost {
|
|||
npm install superagent@3.5.2
|
||||
npm install mysql@2.1.1
|
||||
npm install mariasql@0.2.6
|
||||
npm install debug@2.6.8
|
||||
npm install nconf@0.8.4
|
||||
|
||||
npm install --production
|
||||
|
||||
|
|
Loading…
Reference in New Issue