mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	docs: Clarify push registration for running manage.py correctly.
We've had several users get errors running this because they ran it as a bash script; fix this my making the command super explicit.
This commit is contained in:
		@@ -25,9 +25,15 @@ follows:
 | 
				
			|||||||
   If you installed your Zulip server with a version older than 1.6,
 | 
					   If you installed your Zulip server with a version older than 1.6,
 | 
				
			||||||
   you'll need to add the line (it won't be there to uncomment).
 | 
					   you'll need to add the line (it won't be there to uncomment).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
1. If you're running Zulip 1.8.1 or newer, you can run `manage.py
 | 
					1. If you're running Zulip 1.8.1 or newer, you can run the
 | 
				
			||||||
   register_server` from `/home/zulip/deployments/current`.  This
 | 
					    registration command:
 | 
				
			||||||
   command will print the registration data it would send to the
 | 
					    ```
 | 
				
			||||||
 | 
					    # As root:
 | 
				
			||||||
 | 
					    su zulip -c /home/zulip/deployments/current/manage.py register_server
 | 
				
			||||||
 | 
					    # Or as the zulip user, you can skip the `su zulip -c`:
 | 
				
			||||||
 | 
					    /home/zulip/deployments/current/manage.py register_server
 | 
				
			||||||
 | 
					    ```
 | 
				
			||||||
 | 
					   This command will print the registration data it would send to the
 | 
				
			||||||
   mobile push notifications service, ask you to accept the terms of
 | 
					   mobile push notifications service, ask you to accept the terms of
 | 
				
			||||||
   service, and if you accept, register your server.  Otherwise, see
 | 
					   service, and if you accept, register your server.  Otherwise, see
 | 
				
			||||||
   the [legacy signup instructions](#legacy-signup).
 | 
					   the [legacy signup instructions](#legacy-signup).
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user