Comparing version 0.5.10 to 0.5.11
@@ -5,3 +5,3 @@ { | ||
"description": "An image server for the Android/iPhone app, MedImage.", | ||
"version": "0.5.10", | ||
"version": "0.5.11", | ||
"bin": { | ||
@@ -8,0 +8,0 @@ "medimage": "bin/server.js" |
@@ -141,19 +141,3 @@ # MedImage Server | ||
``` | ||
your settings will be kept between upgrades. | ||
Here is a sample script for upgrading the version, which is expanded because of a more complex permissions setup. | ||
``` | ||
pm2 stop medimage-server | ||
sudo npm install -g medimage | ||
cd "$(npm prefix -global)/lib/node_modules/medimage" | ||
sudo chmod 777 config.json | ||
sudo chmod 777 photos | ||
chown nobody:ubuntu config.json | ||
chown nobody:ubuntu photos | ||
cp ~/backup_key/atomjump.crt . | ||
cp ~/backup_key/atomjump.private.pem . | ||
pm2 start medimage-server | ||
``` | ||
636825
143