Update a custom app in Frappe Framework
To update a custom app in Frappe, you can follow these steps:
Go to the app directory on your local machine using the terminal or command prompt.
Pull the latest changes from the remote repository by running the following command:
git pullIf any new Python packages have been added to the app, you can install them by running the following command:
pip install -r requirements.txtMigrate the database schema changes to the latest version by running the following command:
bench migrateIf any new assets (JavaScript, CSS, images, etc.) have been added to the app, you can build them by running the following command:
bench buildAfter 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
Post a Comment