Update a custom app in Frappe Framework

 To update a custom app in Frappe, you can follow these steps:

  1. Go to the app directory on your local machine using the terminal or command prompt.

  2. Pull the latest changes from the remote repository by running the following command:

    git pull
  3. If any new Python packages have been added to the app, you can install them by running the following command:

    pip install -r requirements.txt
  4. Migrate the database schema changes to the latest version by running the following command:

    bench migrate
  5. If any new assets (JavaScript, CSS, images, etc.) have been added to the app, you can build them by running the following command:

    bench build
  6. After the above steps, you may need to restart the Frappe server for the changes to take effect. You can do this by running the following command:

    bench restart

Once you've completed these steps, your custom app should be updated to the latest version.


Comments