forked from MapComplete/MapComplete
		
	Update server documentation
This commit is contained in:
		
							parent
							
								
									dcf3aed2ae
								
							
						
					
					
						commit
						3a7d62e5fc
					
				
					 2 changed files with 9 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -10,6 +10,6 @@ https://dynamicdns.park-your-domain.com/update?host=cache&domain=mapcomplete.org
 | 
			
		|||
 | 
			
		||||
## Setup
 | 
			
		||||
 | 
			
		||||
See SettingUpPSQL.md
 | 
			
		||||
See [SettingUpPSQL.md](../SettingUpPSQL.md)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -59,11 +59,13 @@ HP ProLiant DL360 G7 (1U): 2Rx4 DDR3-memory (PC3)
 | 
			
		|||
 | 
			
		||||
## Deploying a tile server
 | 
			
		||||
 | 
			
		||||
pg_tileserv kan hier gedownload worden: https://github.com/CrunchyData/pg_tileserv
 | 
			
		||||
pg_tileserv can be downloaded here: https://github.com/CrunchyData/pg_tileserv
 | 
			
		||||
 | 
			
		||||
In the directory where it is downloaded (e.g. `~/data`), run
 | 
			
		||||
 | 
			
		||||
````
 | 
			
		||||
export DATABASE_URL=postgresql://user:password@localhost:5444/osm-poi
 | 
			
		||||
nohup ./pg_tileserv &
 | 
			
		||||
nohup ./pg_tileserv > pg_tileserv.log &
 | 
			
		||||
````
 | 
			
		||||
 | 
			
		||||
Tiles are available at: 
 | 
			
		||||
| 
						 | 
				
			
			@ -74,6 +76,10 @@ map.addSource("drinking_water", {
 | 
			
		|||
})
 | 
			
		||||
````
 | 
			
		||||
 | 
			
		||||
# Starting the summary server
 | 
			
		||||
 | 
			
		||||
`npm run summary-server` in the git repo
 | 
			
		||||
 | 
			
		||||
# Rebooting:
 | 
			
		||||
 | 
			
		||||
-> Restart the docker container
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue