From 19bb582eef9941b181f9fd4c9e1f8db327378ebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Mon, 16 Apr 2012 13:34:01 +0200 Subject: [PATCH] add instructions how to upgrade --- docs/source/userguide.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/source/userguide.rst b/docs/source/userguide.rst index 893dca4..15fb3b3 100644 --- a/docs/source/userguide.rst +++ b/docs/source/userguide.rst @@ -100,7 +100,16 @@ Now try to access http://almir.mywebsite.com/ (if you have an error, follow inst Upgrading to a newer release ---------------------------- -Currently it's best to just reinstall. In future, this will be easy as running a command. +Run:: + + $ cd almir_install_directory + almir $ git pull + almir $ bin/buildout + almir $ bin/supervisorctl restart all + +You can also put that in crontab to auto upgrade on new version, if you are crazy enough. Then there should be extra check if upgrade is needed, something like running following and checking for any output:: + + $ git log latests..origin/latests .. _reporting-bugs: