Update a specific custom app - jigneshpshah/greycube_helpmanual GitHub Wiki

  1. Go to app/<app_name> folder
  2. 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

Refere

  1. Go to bench folder
  2. bench setup requirements

if json changes migrate is necessary else not

  1. execute command for the site where app is installed bench --site [sitename] migrate else for all instance bench migrate

if only js,py changes

  1. execute command bench build
  2. if on production run bench restart

if .pyc doesn't changes

python3 -m py_comile {filepath}

python3 -m compileall {app_directory_path}

⚠️ **GitHub.com Fallback** ⚠️