Skip to content
This repository has been archived by the owner on Nov 26, 2019. It is now read-only.

Upgrade script #56

Open
jashort opened this issue Oct 19, 2016 · 0 comments
Open

Upgrade script #56

jashort opened this issue Oct 19, 2016 · 0 comments

Comments

@jashort
Copy link
Member

jashort commented Oct 19, 2016

Right now there's an installation script that will install KumoReg and all the dependencies on a clean Ubuntu 16.04 server. That's good for convenience, but it would also be nice to have a script that would deploy a new version.

  • Shut down running services (kumoreg and kumoregtraining)
  • Copy current .jar to /usr/local/kumoreg/
  • Remove the symlink /usr/local/kumoreg/kumoreg.jar
  • Create a symlink /usr/local/kumoreg/kumoreg.jar to the current version's jar file
  • Start kumoreg services

Database schema changes will be handled automatically when the application starts (...I think)
Not sure that downgrading is supported, though theoretically it would work as long as the schema hasn't changed too much (note the possibility for data loss there - though the schema hasn't changed much in a while)

Support Ubuntu, though ideally Centos/etc would be the same.

@jashort jashort added this to the Kumoricon 2017 milestone Oct 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant