bench问题汇总

bench中的命令操作汇总

//删除site,不备份,直接删除
bench drop-site erpnext1216 --no-backup --db-root-password root

//安装app(benchAppSite)到benchapp
bench --site benchAppSite install-app benchapp

//查看当前site已安装了哪些app
bench --site benchAppSite list-apps

//从整个bench环境卸载,移除整个应用目录
bench remove-app erpnext_oob

//将新建网站设置为当前网站并启动:
bench use [your-site]

//启动一次即可,以后不需要重复启动
bench start

//这个命令慎用,出过问题,很严重
bench --site benchAppSite add-to-hosts

你可能感兴趣的:(bench,erpnext,python)