mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 11:42:55 +00:00 
			
		
		
		
	Prepare use of UIModules
This commit is contained in:
		@@ -8,6 +8,7 @@ from tornado.ioloop import IOLoop
 | 
			
		||||
 | 
			
		||||
from config import WEB_PORT
 | 
			
		||||
from handlers import MainHandler, ZMQWebSocketHandler
 | 
			
		||||
import ui_modules
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    routes = [
 | 
			
		||||
@@ -18,6 +19,7 @@ if __name__ == '__main__':
 | 
			
		||||
        routes,
 | 
			
		||||
        template_path=r'templates/',
 | 
			
		||||
        static_path=r'static/',
 | 
			
		||||
        ui_modules=ui_modules,
 | 
			
		||||
        autoreload=True
 | 
			
		||||
    )
 | 
			
		||||
    application.listen(WEB_PORT)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										0
									
								
								src/app/ui_modules/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								src/app/ui_modules/__init__.py
									
									
									
									
									
										Normal file
									
								
							
		Reference in New Issue
	
	Block a user