Add Docker instructions to README
							parent
							
								
									f626023e3f
								
							
						
					
					
						commit
						518d22ba4d
					
				
							
								
								
									
										20
									
								
								README.md
								
								
								
								
							
							
						
						
									
										20
									
								
								README.md
								
								
								
								
							|  | @ -28,7 +28,25 @@ limitations on concurrent writes won't be an issue either. | ||||||
| 
 | 
 | ||||||
| ## Stop yacking and tell me how to generate the database from the YAMl! | ## Stop yacking and tell me how to generate the database from the YAMl! | ||||||
| 
 | 
 | ||||||
| Ok! | Ok! There are two ways of doing this; using Docker containers, and manually | ||||||
|  | setting things up. If you just want to generate the database and use it, I'd | ||||||
|  | recommend Docker, if you want to actively develop this repo the manual setup | ||||||
|  | may be preferable. | ||||||
|  | 
 | ||||||
|  | ### Using Docker | ||||||
|  | 
 | ||||||
|  | First you will need docker, you can set that up from [here](https://www.docker.com/get-started). | ||||||
|  | 
 | ||||||
|  | The included Dockerfile is set up so that it will install the correct | ||||||
|  | dependencies and run the database generation script. Everyone's workflow will | ||||||
|  | differ, but this will get you a generated database: | ||||||
|  | 
 | ||||||
|  | ``` | ||||||
|  | docker build -t pathfinder-2-sqlite -f .\Dockerfile . | ||||||
|  | docker run -it pathfinder-2-sqlite | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | ### Manual Setup | ||||||
| 
 | 
 | ||||||
| You'll need a working python3 installation and the module `pyyaml` installed.  | You'll need a working python3 installation and the module `pyyaml` installed.  | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue