How do I make my own app required elsewhere?

I have developed two applications using the frappe framework. The installation of the first app is a prerequisite for installing the second app, as the latter is dependent on the former. How can I configure the required_apps in the hooks.py file? Both applications are hosted privately on a GitLab account.

2 Likes

required_apps = ["frappe/erpnext"]

@ahassoun I specifically mentioned custom applications that are not publicly hosted on GitHub.

I have a similar doubt regarding this.

How do I specify the path in the hooks file.
As I checked the installer file, I can see that the function is looking for the app in the given path. But for some reason even though I’m executing the command from the apps folder, os.get_cwd() return the path to the sites folder. And because of this I am having to set the path as below:

required_apps = [“…/apps/product_supplier_info”]