Covcheck: Unterschied zwischen den Versionen

(Markierung: 2017-Quelltext-Bearbeitung)
(Markierung: 2017-Quelltext-Bearbeitung)
Zeile 4: Zeile 4:
 
{{DEFAULTSORT:Covcheck}}
 
{{DEFAULTSORT:Covcheck}}
  
==Allgemein==
+
==Introduction==
  
Das Dokument beschreibt, wie der Covcheck-Anwendungsserver installiert und ein Galaxy Gate so konfiguriert wird, dass COVID-Zertifikate und -Tests, die am Gate vorgelegt werden, über die REST-API des Servers validiert werden können.
+
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 des Covcheck-Anwendungsservers==
+
==Installation of Covcheck Application Server==
  
===Voraussetzungen===
+
===Prerequisites===
  
 
* Ubuntu 22.04 mit Internetzugang
 
* Ubuntu 22.04 mit Internetzugang
Zeile 27: Zeile 27:
 
tar xvf covid-installer.tar.gz && cd ./covid-installer
 
tar xvf covid-installer.tar.gz && cd ./covid-installer
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
* Modify file '''.env''' and specify the database password ('''POSTGRES_PASSWORD''') and, if necessary, host name ('''ODOO_HOST_NAME''') and timezone ('''TZ'''):
 +
 +
<syntaxhighlight>POSTGRES_PASSWORD=gR7K6GT8MvQHpvLs
 +
ODOO_HOST_NAME=covcheck.maxcr.de
 +
TZ=Europe/Berlin</syntaxhighlight>
 +
 +
* If SSL certificates are provided for domain name '''ODOO_HOST_NAME''' put them into directory '''/etc/nginx/certs''', e.g:
 +
 +
<syntaxhighlight>
 +
sudo mkdir -p /etc/nginx/certs
 +
sudo tar xvf certs.tar.gz -C /
 +
</syntaxhighlight>
 +
 +
* If SSL certificates are not available, HTTP connection will be used and you need to modify file **docker-compose** accordingly:
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#9702; Add this section to container **odoo**:
 +
  <syntaxhighlight>
 +
      ports:
 +
      - 80:8069  </syntaxhighlight>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#9702; Comment out or remove port 80 for container **nginx_proxy**:
 +
  <syntaxhighlight>
 +
      ports:
 +
    #  - 80:80
 +
      - 443:443 </syntaxhighlight>
 +
 +
* Run the installer script:
 +
 +
<syntaxhighlight>script=install-covcheck.sh && chmod +x $script && ./$script -i</syntaxhighlight>
 +
 +
* The installation is finished successfully if you see this line in the shell:
 +
 +
<syntaxhighlight>### Installation finished successfully</syntaxhighlight>
 +
 +
===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

Anhänge

Diskussionen