mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 03:40:18 +01:00 
			
		
		
		
	Reordered the Bridgehead restart instructions
Ordered them so that first a stop is performed, then a start. This reflects what administrators will be doing in real life. Also included a git pull for the Bridgehead, since this will normally also be part of the regular administrative tasks. Also removed a bunch of instructions for the installation, since these steps are now performed automatically by the bridgehead script.
This commit is contained in:
		
							
								
								
									
										30
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								README.md
									
									
									
									
									
								
							@@ -171,17 +171,6 @@ sudo git clone https://github.com/samply/bridgehead.git /srv/docker/bridgehead
 | 
			
		||||
 | 
			
		||||
If this is an ECDC/EHDS2 installation, switch to the ```ehds2``` branch and copy the configuration file to the required location:
 | 
			
		||||
```shell
 | 
			
		||||
sudo mkdir -p /srv/docker/ecdc/data
 | 
			
		||||
cd /srv/docker
 | 
			
		||||
git clone https://github.com/samply/transFAIR.git
 | 
			
		||||
cd /srv/docker/transFAIR
 | 
			
		||||
sudo git checkout ehds2
 | 
			
		||||
docker build -t samply/transfair --no-cache .
 | 
			
		||||
cd /srv/docker
 | 
			
		||||
git clone https://github.com/samply/focus.git
 | 
			
		||||
cd /srv/docker/focus
 | 
			
		||||
sudo git checkout ehds2
 | 
			
		||||
docker build -t samply/focus --no-cache .
 | 
			
		||||
cd /srv/docker/bridgehead
 | 
			
		||||
sudo git checkout ehds2
 | 
			
		||||
sudo mkdir -p /etc/bridgehead/
 | 
			
		||||
@@ -246,19 +235,24 @@ pki-scripts/managepki list
 | 
			
		||||
 | 
			
		||||
For an ECDC/EHDS2 installation, you need to start and stop the Bridgehead manually.
 | 
			
		||||
 | 
			
		||||
To start:
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
cd /srv/docker/bridgehead
 | 
			
		||||
sudo nohup ./bridgehead start bbmri >& ~/bridgehead.log &
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
To stop:
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
cd /srv/docker/bridgehead
 | 
			
		||||
sudo ./bridgehead stop bbmri
 | 
			
		||||
```
 | 
			
		||||
To get the most up-to-date Bridgehead:
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
sudo git pull
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
To start:
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
cd /srv/docker/bridgehead
 | 
			
		||||
sudo nohup ./bridgehead start bbmri >& ~/bridgehead.log &
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
For regular installations, read on.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user