1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

use npm-shrinkwrap file to stale dependencies versions

This commit is contained in:
Julien Malik 2014-03-25 17:05:19 +01:00
parent 301d95f3d2
commit f36a207362
2 changed files with 2 additions and 1 deletions

View file

@ -41,7 +41,7 @@ admin@yunohost:/home/yunohost.app/ghostblog$ du -sh ghost/*
** modify assets/css ?
** modify default.hbs
* TODO go multi-instance ?
* TODO use shrink to fix dependencies version. cf. https://www.npmjs.org/doc/shrinkwrap.html
* DONE use shrink to fix dependencies version. cf. https://www.npmjs.org/doc/shrinkwrap.html
* TODO implement upgrade
* DONE if public, block access to admin section via sso
* DONE support installation on root of subdomain

View file

@ -47,6 +47,7 @@ final_path=/var/www/ghostblog
sudo mkdir -p $final_path
sudo useradd -d $final_path ghostblog
sudo cp -r ../tmp/ghost $final_path
sudo cp ../conf/npm-shrinkwrap.json $final_path/ghost
sudo chown -R ghostblog: $final_path
echo "Install Ghost with NPM..."