Covcheck
Version vom 4. Juli 2022, 16:40 Uhr von Alexbod (Diskussion | Beiträge)
Inhaltsverzeichnis
Introduction
The document describes how to install the Covcheck application server and configure a Galaxy Gate so that COVID certificates and tests presented at the gate can be validated through the server's REST API.
Installation of Covcheck Application Server
Prerequisites
- Ubuntu 22.04 mit Internetzugang
- Benutzer mit sudo-Berechtigungen und Verfügbarkeit eines Benutzers mit der ID 1000 (cat /etc/passwd | grep 1000)
- Archiv covid-installer.tar.gz mit den Dateien, die in [Installationsdateien](#installation-files) aufgelistet sind
Installationsschritte
- Verbinden Sie sich mit ssh mit dem Ubuntu-Server
- Kopieren Sie covid-installer.tar.gz in ein lokales Verzeichnis
- Führen Sie den folgenden Befehl aus:
tar xvf covid-installer.tar.gz && cd ./covid-installer
- Modify file .env and specify the database password (POSTGRES_PASSWORD) and, if necessary, host name (ODOO_HOST_NAME) and timezone (TZ):
POSTGRES_PASSWORD=gR7K6GT8MvQHpvLs
ODOO_HOST_NAME=covcheck.maxcr.de
TZ=Europe/Berlin
- If SSL certificates are provided for domain name ODOO_HOST_NAME put them into directory /etc/nginx/certs, e.g:
sudo mkdir -p /etc/nginx/certs
sudo tar xvf certs.tar.gz -C /
- If SSL certificates are not available, HTTP connection will be used and you need to modify file **docker-compose** accordingly:
◦ Add this section to container **odoo**:
ports:
- 80:8069
◦ Comment out or remove port 80 for container **nginx_proxy**:
ports:
# - 80:80
- 443:443
- Run the installer script:
script=install-covcheck.sh && chmod +x $script && ./$script -i
- The installation is finished successfully if you see this line in the shell:
### Installation finished successfully
Installation Files
- .env
- environment variables
- boot-covid-install.sh
- development script
- covcheck.tar.gz
- archived covcheck and request_extension ODOO addons
- covid-installer.tar.gz
- archive of other files from this list
- docker-compose.yml
- docker compose file
- install-covid.sh
- primary installation script
- nginx-vhost
- template vhost file for nginx
- odoo.conf
- configuration file for ODOO
- README.md
- this file: