You've already forked calibre-web
							
							
				mirror of
				https://github.com/janeczku/calibre-web.git
				synced 2025-10-30 23:57:40 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			376 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			376 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env python
 | |
| # -*- coding: utf-8 -*-
 | |
| 
 | |
| import os
 | |
| import sys
 | |
| 
 | |
| base_path = os.path.dirname(os.path.abspath(__file__))
 | |
| # Insert local directories into path
 | |
| sys.path.append(base_path)
 | |
| sys.path.append(os.path.join(base_path, 'cps'))
 | |
| sys.path.append(os.path.join(base_path, 'vendor'))
 | |
| 
 | |
| from cps.server import Server
 | |
| 
 | |
| if __name__ == '__main__':
 | |
|     Server.startServer()
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 |