11 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			206 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # py-scopes/demo/config.py
 | |
| 
 | |
| from dotenv import load_dotenv
 | |
| from os import getenv
 | |
| from scopes.server.app import demo_app, zope_app
 | |
| 
 | |
| load_dotenv()
 | |
| 
 | |
| server_port = getenv('SERVER_PORT', '8999')
 | |
| 
 | |
| app = zope_app
 |