17 lines
		
	
	
	
		
			653 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
	
		
			653 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| 
								 | 
							
								# wh40kdata
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								## Rough steps
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								Install `mysql 5.7`, if not already installed, make a database called `wahapedia`
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								Create `config.py` based on `example.config.py` and populate with your credentials
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								Install `python 3` and run `python3 updateInputData.py`
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								Run `python3 ingestion.py` to populate your local db
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								Install node, then navigate to `cd exportion` and run `npm i` to install node modules
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								From `exportion/`, run `npm start` to start the server, then navigate to [http://localhost:3000/](http://localhost:3000/)
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								Click a faction and then, in the browser’s network inspector, copy the returned object to paste into a manifest’s (im/ex)port window
							 |