2017-07-18 01:31:54 -02:30
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								```
							 | 
						
					
						
							
								
									
										
										
										
											2018-05-29 10:19:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								zulip-bot-server --config-file <path to botserverrc> --hostname <address> --port <port>
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-18 01:31:54 -02:30
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								```
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2018-05-29 10:19:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								Example: `zulip-bot-server --config-file ~/botserverrc`
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-18 01:31:54 -02:30
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								This program loads the bot configurations from the
							 | 
						
					
						
							
								
									
										
										
										
											2018-05-29 10:19:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								config file (botserverrc here) and loads the bot modules.
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-18 01:31:54 -02:30
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								It then starts the server and fetches the requests to the
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								above loaded modules and returns the success/failure result.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2018-05-29 10:19:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								Please make sure you have a current botserverrc file with the
							 | 
						
					
						
							
								
									
										
										
										
											2017-07-18 01:31:54 -02:30
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								configurations of the required bots.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								Hostname and Port are optional arguments. Default hostname is
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								127.0.0.1 and default port is 5002.
							 |