From 8096c33c00d6e49b4d261f2016403675accafce8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 7 Apr 2019 14:18:56 +0200 Subject: Add a note about updating travelynx --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 3ac4179..96ec4b9 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,28 @@ Please open an issue on or send a mail to derf+travelynx@finalrewind.org if there is anything missing or ambiguous in this setup manual. +Updating +--- + +It is recommended to run travelynx directly from the git repository. When +updating, the workflow depends on whether schema updates need to applied +or not. + +``` +git pull +chmod -R a+rX . # only needed if travelynx is running under a different user +if perl index.pl database has-current-schema; then + systemctl reload travelynx +else + systemctl stop travelynx + perl index.pl migrate + systemctl start travelynx +fi +``` + +Note that this is subject to change -- the application may perform schema +updates automatically in the future. + Usage --- -- cgit v1.2.3