mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			6.0-rc1-br
			...
			1.4.1
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					f6975f9334 | ||
| 
						 | 
					0120ff5612 | 
@@ -42,6 +42,14 @@ if not args.skip_puppet:
 | 
				
			|||||||
    subprocess.check_call(["apt-get", "update"])
 | 
					    subprocess.check_call(["apt-get", "update"])
 | 
				
			||||||
    subprocess.check_call(["apt-get", "-y", "upgrade"])
 | 
					    subprocess.check_call(["apt-get", "-y", "upgrade"])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if not os.path.exists((os.path.join(deploy_path, "zproject/prod_settings"))):
 | 
				
			||||||
 | 
					    subprocess.check_call(["ln", "-nsf", "/etc/zulip/settings.py",
 | 
				
			||||||
 | 
					                           os.path.join(deploy_path, "zproject/prod_settings.py")])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# delete local_settings.py symlink if it exists, as it is now prod_settings.py
 | 
				
			||||||
 | 
					if os.path.exists((os.path.join(deploy_path, "zproject/local_settings.py"))):
 | 
				
			||||||
 | 
					    subprocess.check_call(["rm", os.path.join(deploy_path, "zproject/local_settings.py")])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
subprocess.check_call([os.path.join(deploy_path, "scripts", "lib", "create-production-venv"),
 | 
					subprocess.check_call([os.path.join(deploy_path, "scripts", "lib", "create-production-venv"),
 | 
				
			||||||
                       os.path.join(deploy_path, "zulip-venv")])
 | 
					                       os.path.join(deploy_path, "zulip-venv")])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -155,7 +155,7 @@ INLINE_IMAGE_PREVIEW = True
 | 
				
			|||||||
# https://github.com/zulip/zulip/issues/291 for discussion of a better
 | 
					# https://github.com/zulip/zulip/issues/291 for discussion of a better
 | 
				
			||||||
# solution that won't be automatically reverted by the Zulip upgrade
 | 
					# solution that won't be automatically reverted by the Zulip upgrade
 | 
				
			||||||
# script), and then restart nginx.
 | 
					# script), and then restart nginx.
 | 
				
			||||||
LOCAL_UPLOADS_DIR = "/home/zulip/var/uploads"
 | 
					LOCAL_UPLOADS_DIR = "/home/zulip/uploads"
 | 
				
			||||||
#S3_AUTH_UPLOADS_BUCKET = ""
 | 
					#S3_AUTH_UPLOADS_BUCKET = ""
 | 
				
			||||||
#S3_AVATAR_BUCKET = ""
 | 
					#S3_AVATAR_BUCKET = ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user