Warning: file_put_contents(): Only 0 of 21609 bytes written, possibly out of free disk space in /var/www/bluespice/w/extensions/BlueSpiceVisualDiff/includes/HTMLDiffEngine.class.php on line 113

Warning: file_put_contents(): Only 0 of 21722 bytes written, possibly out of free disk space in /var/www/bluespice/w/extensions/BlueSpiceVisualDiff/includes/HTMLDiffEngine.class.php on line 113

Warning: file_put_contents(): Only 0 of 64 bytes written, possibly out of free disk space in /var/www/bluespice/w/extensions/BlueSpiceVisualDiff/includes/HTMLDiffEngine.class.php on line 68

Warning: file_put_contents(): Only 0 of 108 bytes written, possibly out of free disk space in /var/www/bluespice/w/extensions/BlueSpiceVisualDiff/includes/HTMLDiffEngine.class.php on line 173

Warning: file_put_contents(): Only 0 of 6323 bytes written, possibly out of free disk space in /var/www/bluespice/w/extensions/BlueSpiceVisualDiff/includes/UnifiedTextDiffEngine.class.php on line 24

Warning: file_put_contents(): Only 0 of 6456 bytes written, possibly out of free disk space in /var/www/bluespice/w/extensions/BlueSpiceVisualDiff/includes/UnifiedTextDiffEngine.class.php on line 26

Warning: file_put_contents(): Only 0 of 64 bytes written, possibly out of free disk space in /var/www/bluespice/w/extensions/BlueSpiceVisualDiff/includes/UnifiedTextDiffEngine.class.php on line 67

Warning: file_put_contents(): Only 0 of 108 bytes written, possibly out of free disk space in /var/www/bluespice/w/extensions/BlueSpiceVisualDiff/includes/HTMLDiffEngine.class.php on line 173
Covcheck: Unterschied zwischen den Versionen – Maxcrc MediaWiki

Covcheck: Unterschied zwischen den Versionen

(Installation of Covcheck Application Server)
(Markierung: 2017-Quelltext-Bearbeitung)
(Markierung: 2017-Quelltext-Bearbeitung)
 
(4 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 15: Zeile 15:
 
*Ubuntu 22.04 with Internet access
 
*Ubuntu 22.04 with Internet access
 
*User with '''sudo''' permissions and availability of a user with ID 1000 ('''cat /etc/passwd | grep 1000'''), which is by default
 
*User with '''sudo''' permissions and availability of a user with ID 1000 ('''cat /etc/passwd | grep 1000'''), which is by default
* Archive '''covid-installer.tar.gz''' with the files listed in [[#Installation Files|Installation Files]]
+
*Archive '''covcheck-installer.tar.gz''' with the files listed in [[#Installation Files|Installation Files]].  The name '''covcheck-installer.tar.gz''' can include a version, e.g. '''covcheck-installer-v0.1.tar.gz'''
  
 
===Installation Steps===
 
===Installation Steps===
  
* Connect with '''ssh''' to the Ubuntu server
+
*Connect with '''ssh''' to the Ubuntu server
  
* Copy '''covid-installer.tar.gz''' to the local directory
+
*Copy '''covcheck-installer.tar.gz''' to the local directory
  
* Execute the following command:
+
*Execute the following command:
  
 +
<br />
 
<syntaxhighlight>
 
<syntaxhighlight>
tar xvf covid-installer.tar.gz && cd ./covid-installer
+
tar xvf covcheck-installer.tar.gz && cd ./covcheck-installer
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
<br />
  
 
*Modify file '''.env''' and specify the database password ('''POSTGRES_PASSWORD''') and, if necessary, host name ('''ODOO_HOST_NAME''') and timezone ('''TZ'''):
 
*Modify file '''.env''' and specify the database password ('''POSTGRES_PASSWORD''') and, if necessary, host name ('''ODOO_HOST_NAME''') and timezone ('''TZ'''):
  
 +
<br />
 
<syntaxhighlight>POSTGRES_PASSWORD=gR7K6GT8MvQHpvLs
 
<syntaxhighlight>POSTGRES_PASSWORD=gR7K6GT8MvQHpvLs
 
ODOO_HOST_NAME=covcheck.maxcr.de
 
ODOO_HOST_NAME=covcheck.maxcr.de
 
TZ=Europe/Berlin</syntaxhighlight>
 
TZ=Europe/Berlin</syntaxhighlight>
 +
<br />
  
*If SSL certificates are provided for domain name '''ODOO_HOST_NAME''' put them into directory '''/etc/nginx/certs''', e.g:
+
*If SSL certificates are provided for domain name '''ODOO_HOST_NAME''', put them into directory '''/etc/nginx/certs''', e.g:
  
 
<syntaxhighlight>
 
<syntaxhighlight>
Zeile 56: Zeile 60:
 
*Run the installer script:
 
*Run the installer script:
  
 +
<br />
 
<syntaxhighlight>script=install-covcheck.sh && chmod +x $script && ./$script -i</syntaxhighlight>
 
<syntaxhighlight>script=install-covcheck.sh && chmod +x $script && ./$script -i</syntaxhighlight>
 +
<br />
  
 
*The installation is finished successfully if you see this line in the shell:
 
*The installation is finished successfully if you see this line in the shell:
  
 +
<br />
 
<syntaxhighlight>### Installation finished successfully</syntaxhighlight>
 
<syntaxhighlight>### Installation finished successfully</syntaxhighlight>
 +
<br />
  
 
You can make sure that the Covcheck is installed and running by executing the following command:
 
You can make sure that the Covcheck is installed and running by executing the following command:
  
 +
<br />
 
<syntaxhighlight>curl https://covcheck.maxcrc.de/covcheck/status</syntaxhighlight>
 
<syntaxhighlight>curl https://covcheck.maxcrc.de/covcheck/status</syntaxhighlight>
 +
<br />
  
 
The reply must be a JSON like as follows:
 
The reply must be a JSON like as follows:
 
+
<br />
 
<syntaxhighlight>{
 
<syntaxhighlight>{
 
   "status":"ok",
 
   "status":"ok",
 
   "last_update":"2022-07-04 12:06:34"
 
   "last_update":"2022-07-04 12:06:34"
 
}</syntaxhighlight>
 
}</syntaxhighlight>
 +
<br />
  
 
[[#installation_files]]
 
 
===Installation Files===
 
===Installation Files===
  
 
;.env :environment variables
 
;.env :environment variables
;boot-covid-install.sh :development script
 
 
;covcheck.tar.gz :archived covcheck and request_extension ODOO addons
 
;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
 
;docker-compose.yml :docker compose file
;install-covid.sh :primary installation script
+
;git-submodule-status:information about git submodules that comprise the Covcheck application server
 +
;install-covcheck.sh :primary installation script
 
;nginx-vhost :template vhost file for nginx
 
;nginx-vhost :template vhost file for nginx
 
;odoo.conf :configuration file for ODOO
 
;odoo.conf :configuration file for ODOO
;README.md :this file
 
  
 
==Configuration of Covcheck Application Server==
 
==Configuration of Covcheck Application Server==
Zeile 118: Zeile 125:
  
 
Fill-in the following fields and then click '''Change Password''':
 
Fill-in the following fields and then click '''Change Password''':
**Old Password
+
 
**New Password
+
*Old Password
**Confirm New Password
+
*New Password
 +
*Confirm New Password
 +
 
 
<br />
 
<br />
  
Zeile 149: Zeile 158:
 
==Configuration of Galaxy Gate==
 
==Configuration of Galaxy Gate==
  
In order COVID certificates and tests can be validated against the Covcheck server the proper dispatcher and display must be selected and configured.
+
In order COVID certificates and tests can be validated against the Covcheck server, the proper dispatcher and display must be selected and configured.
  
 
===Dispatcher===
 
===Dispatcher===
  
Open the URL of the gate, login with the user '''wanzl''' and navigate to the '''Configuration''' page. Select tab '''Dispatchers''' and click '''Add''':
+
Open the URL of the gate, login with user '''wanzl''' and navigate to the '''Configuration''' page. Select tab '''Dispatchers''' and click '''Add''':
  
 
<br />
 
<br />
Zeile 161: Zeile 170:
 
In the combo box under the title '''Dispatcher''' select '''Covcheck''', modify the following properties if needed and click '''Save''':
 
In the combo box under the title '''Dispatcher''' select '''Covcheck''', modify the following properties if needed and click '''Save''':
  
; URL : Base URL of Covcheck's API
+
;URL :Base URL of Covcheck's API
; Ruleset : Ruleset for validating COVID certificates and tests
+
;Ruleset :Ruleset for validating COVID certificates and tests
; COVID Test timeout, ms : When a COVID test is required, specifies the timeout of waiting for it
+
;COVID Test timeout, ms :When a COVID test is required, specifies the timeout of waiting for it
  
  
Zeile 184: Zeile 193:
 
===Display===
 
===Display===
  
Open the URL of the gate, login with the user '''wanzl''' and navigate to the '''Configuration''' page. Select tab '''Displays''' and click '''Add''':
+
Open the URL of the gate, login with user '''wanzl''' and navigate to the '''Configuration''' page. Select tab '''Displays''' and click '''Add''':
  
 
<br />
 
<br />
Zeile 192: Zeile 201:
 
In the combo box under the title '''Display''' select '''Display Gate Covcheck''', modify the following properties if needed and click '''Save''':
 
In the combo box under the title '''Display''' select '''Display Gate Covcheck''', modify the following properties if needed and click '''Save''':
  
; Gate side : Side of the display, '''Entry''' or '''Exit'''
+
;Gate side :Side of the display, '''Entry''' or '''Exit'''
  
; Name : User-friendly name
+
;Name :User-friendly name
  
 
<br />
 
<br />

Anhänge

Diskussionen