diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-07 14:18:56 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-07 14:18:56 +0200 |
commit | 8096c33c00d6e49b4d261f2016403675accafce8 (patch) | |
tree | 291fdd9ce2081c811a758a98993feeffdd6d11e4 /README.md | |
parent | 216dd7c7ad71667737b38ca38479b10833077f93 (diff) |
Add a note about updating travelynx
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -55,6 +55,28 @@ Please open an issue on <https://github.com/derf/travelynx/issues> 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 --- |