From db6ed5a35829f01fc3da60b92c199df0b7322b2d Mon Sep 17 00:00:00 2001 From: Felix Mumme Date: Thu, 16 Jan 2025 21:44:28 +0100 Subject: [PATCH] update readme --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 14c6a44..4cd467e 100644 --- a/README.md +++ b/README.md @@ -31,4 +31,24 @@ chmod +x install-openems.sh The script will prompt you for: - The hostname for your server (defaults to current hostname if left empty) -- Whether to set OpenEMS UI as the default site for the server \ No newline at end of file +- Whether to set OpenEMS UI as the default site for the server + +## Installation + +To install OpenEMS, run the following command: +```bash +wget -O - https://git.mumme-it.de/Mumme-IT/openems-build/raw/branch/main/installation/install-openems.sh | bash +``` + +## Updates + +The installation script also supports updating an existing installation. If you run the script on a system that already has OpenEMS installed, it will: + +- Update the OpenEMS JAR file +- Update the UI files +- Restart the OpenEMS service + +To update your installation, simply run the installation command again: +```bash +wget -O - https://git.mumme-it.de/Mumme-IT/openems-build/raw/branch/main/installation/install-openems.sh | bash +``` \ No newline at end of file