mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Install a supervisor job for run-dev.
The development server will automatically start after provisioning finishes. (imported from commit 6be3d954d9049acd0360189b07b1481756b69eef)
This commit is contained in:
		@@ -27,6 +27,7 @@ APT_DEPENDENCIES = {
 | 
			
		||||
        "hunspell-en-us",
 | 
			
		||||
        "nodejs",
 | 
			
		||||
        "python-virtualenv",
 | 
			
		||||
        "supervisor",
 | 
			
		||||
        "git",
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
@@ -116,3 +117,7 @@ sh.postgres_init_db()
 | 
			
		||||
sh.do_destroy_rebuild_database()
 | 
			
		||||
sh.postgres_init_test_db()
 | 
			
		||||
sh.do_destroy_rebuild_test_database()
 | 
			
		||||
 | 
			
		||||
with sh.sudo:
 | 
			
		||||
    sh.cp(os.path.join(ZULIP_PATH, "tools", "provision", "zulip-dev.conf"), "/etc/supervisor/conf.d/zulip-dev.conf")
 | 
			
		||||
    sh.service("supervisor", "restart")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user