diff --git a/TODO.org b/TODO.org index 1ce7506..da29ae9 100644 --- a/TODO.org +++ b/TODO.org @@ -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 diff --git a/scripts/install b/scripts/install index 226512f..c4a1f30 100644 --- a/scripts/install +++ b/scripts/install @@ -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..."