I have follow the guide line of building custom app for erpnext docker successfully,
officially document guideline
I have a fews questions:
- apps.json do I need to add all of my custom apps , or any alternative option like:
-
Can I use the command to get app or install inside the container?
examplebench get-app .
orbench --site site-name install-app app1
-
or Inside host machine ,example
docker compose --project-name erpnext-two exec backend bench --site p2.domain.come install-app app9
-
Let get the real example ,
install posawesome
which we need to follow the step ofposawesome
1. `bench get-app https://github.com/yrestom/POS-Awesome.git` 2. `bench setup requirements` 3. `bench build --app posawesome` 4. `bench restart` 5. `bench --site [your.site.name] install-app posawesome` 6. `bench --site [your.site.name] migrate`
-
If all I need is to add the custom apps (ex. posawesome ,insights) into
apps.json
then if I have an another appmy_own_custom_app1
,my_own_custom_app20
then I need to build docker images and push to docker hub every-times I add , correct?
–
Thanks
TREE Em