2
0
mirror of https://github.com/frappe/bench.git synced 2025-02-08 05:38:25 +00:00

build after init, fix #27

This commit is contained in:
Pratik Vyas 2014-07-17 15:45:30 +05:30
parent 07df02ce9a
commit 620ee04ca8

View File

@ -40,6 +40,7 @@ def init(path):
setup_procfile(bench=path)
setup_backups(bench=path)
setup_auto_update(bench=path)
exec_cmd("{frappe} --build".format(frappe=get_frappe(bench=path)), cwd=os.path.join(path, 'sites'))
def exec_cmd(cmd, cwd='.'):
try: