Update a specific custom app - jigneshpshah/greycube_helpmanual GitHub Wiki
- Go to
app/<app_name>folder - execute command
git pull,
if there are local changes to be ignored
git reset --hard
git clean -f ( to remove untracked local files)
git pull
- Go to bench folder
bench setup requirements
- execute command for the site where app is installed
bench --site [sitename] migrateelse for all instancebench migrate
- execute command
bench build - if on production run
bench restart
python3 -m py_comile {filepath}
python3 -m compileall {app_directory_path}