How install all frappe crm erp hrm at same time in docker?
How i can install crm erp hrm in one command to docker? Im in dev environment
Thanks
To create docker multi-site and multi-app please use easy-install.py: -
-
wget https://raw.githubusercontent.com/frappe/bench/develop/easy-install.py
-
git clone https://github.com/frappe/frappe_docker
-
In "frappe_docker/development/apps-example.json" edit your apps with their branch: - [ { "url": "https://github.com/frappe/erpnext", "branch": "version-15" }, { "url": "https://github.com/frappe/hrms", "branch": "version-15" }, { "url": "https://github.com/frappe/education", "branch": "version-15" }, { "url": "https://github.com/frappe/crm", "branch": "main" }, { "url": "https://github.com/frappe/wiki", "branch": "master"}, { "url": "https://github.com/Aakvatech-Limited/CSF_TZ", "branch": "master"} ]
-
python3 easy-install.py build
-
python3 easy-install.py deploy --image=custom-apps --version=latest --sitename=bench3site1.duckdns.org --sitename=bench3site2.duckdns.org --sitename=bench3site3.duckdns.org --app=erpnext --app=hrms --app=education --app=crm --app=wiki --app=csf_tz
For step 4 and 5 if you want more options rather than default values please check out https://github.com/frappe/bench
Don't forget to add the sites to your host file
Hello @asieftejani , thank you very much for the above steps, it is working for me, but now I have problem with custom apps updating in the docker. I am a newbie in the docker enviroment. Mentioned "easy-install.py upgrade" deployed apps in previous versions, unfortunately :-( Thanks for any update in advance. Jiri Sir
Unfortunately I have not tested the upgrade feature ... however try one thing ... there is compose.yaml file and passwords in the root directory ... try shifting that elsewhere and see if it the new one it creates works Best of luck
Hello @asieftejani , thanks for advice. Finally I have edited the easy-install.py by "--no-cache" tag in build section. This force the creating of the all-new image with actual versions of apps. Thank you. Jiří Šír
@tonspar Thanks for your feedback - its great that its working
- An update is only an "update" if it keeps your original data and migrates (bench) to a new version even if its a new image. Did it do this or its a completely fresh new install?
- Do you think you can help all others who face the same situation - go to https://github.com/frappe/frappe_docker/issues/1640 and see my detailed answer. Can you add your experience and sollution so that everyone benefits - especially newbie like me and you
- By the way - just out of curiosity - what does "Jiri Sir" mean?
Hello @asieftejani ,
- After this 'update' with --no-cache in easy-install.py all data stayed untouched. => just apps were be updated
- I will ;-)
- That's my name here in Czech Republic. Jiří = George, Šír = Widefield ;-)
Hello @asieftejani , but few days ago I have found this https://github.com/rtCamp/Frappe-Manager. It is working smooth I think ;-) Jirka
Thanks .. let me try it out