From 6d07168db3d3a667ecc73c1c0835b6e9651e3437 Mon Sep 17 00:00:00 2001 From: arrell_c Date: Tue, 21 Nov 2023 16:34:46 +0100 Subject: [PATCH] Create Web app general --- Web-app-general.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Web-app-general.md diff --git a/Web-app-general.md b/Web-app-general.md new file mode 100644 index 0000000..9e84e88 --- /dev/null +++ b/Web-app-general.md @@ -0,0 +1,15 @@ +## Setup of web server +Two instances of photodiag-web server are hosted on sf-phmon-01.psi.ch virtual machine, both available only from beamline networks/control room: +- https://sf-photodiag.psi.ch (main server) +- https://sf-photodiag-test.psi.ch (test server) +### Server updates +The service is hosted at https://gitlab.psi.ch/photon-diagnostics/photodiag_web +- Pushing a commit on the main branch will update the test server +- Pushing a tagged commit on the main branch will update both the test and prod servers. + +To push a release to the main server +1. git pull the latest tested and operational version +1. python make_release.py +1. git push origin main --tags + +The release status can be checked via gitlab CI/CD pipelines \ No newline at end of file