mirror of
				https://github.com/livebook-dev/livebook.git
				synced 2025-11-01 00:06:04 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			302 B
		
	
	
	
		
			Elixir
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			302 B
		
	
	
	
		
			Elixir
		
	
	
	
	
	
| defmodule LivebookSpace.Application do
 | |
|   use Application
 | |
| 
 | |
|   def start(_type, _args) do
 | |
|     children = [
 | |
|       {Bandit, scheme: :http, plug: LivebookSpaceWeb.Plug, port: 4000}
 | |
|     ]
 | |
| 
 | |
|     opts = [strategy: :one_for_one, name: LivebookSpace.Supervisor]
 | |
|     Supervisor.start_link(children, opts)
 | |
|   end
 | |
| end
 |