2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

setup socketio if frappe > v5

This commit is contained in:
Pratik Vyas 2015-08-15 20:35:57 -07:00
parent 05b8d22f44
commit fe87c7e79f

View File

@ -77,8 +77,9 @@ def init(path, apps_path=None, no_procfile=False, no_backups=False,
setup_auto_update(bench=path)
if apps_path:
install_apps_from_path(apps_path, bench=path)
setup_socketio(bench=path)
FRAPPE_VERSION = get_current_frappe_version(bench=path)
if FRAPPE_VERSION > 5:
setup_socketio(bench=path)
build_assets(bench=path)
generate_redis_cache_config(bench=path)
generate_redis_async_broker_config(bench=path)