fix apache2 sub-path deploy issue #544
This commit is contained in:
		
							parent
							
								
									ae24fab441
								
							
						
					
					
						commit
						7d44210a48
					
				
							
								
								
									
										28
									
								
								docs/WithFastapi.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								docs/WithFastapi.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,28 @@
 | 
				
			|||||||
 | 
					# Running with fastapi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					We currently support fastapi in order to solve sub-path deploy issue.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					1. checkout to `subpath` branch
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					``` sh
 | 
				
			||||||
 | 
					git checkout subpath
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					2. merge lastest features (optional)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					``` sh
 | 
				
			||||||
 | 
					git merge master
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					3. change CUSTOM_PATH setting in `config.py`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					``` sh
 | 
				
			||||||
 | 
					nano config.py
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					4. Go!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					``` sh
 | 
				
			||||||
 | 
					python main.py
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user