I am planning to setup an ERPNext V12 instance for a client.
Additionally I would like to develop an app, too.
I was wondering now, what the best setup would be.
Let’s say I run an instance “A” with ERPNext v12 master-branch in production mode.
Obviously, developing an app on the very same instance by switching to developing mode is not the best idea, because I do not want anything to happen to the production environment while developing.
So my idea is to setup another instance “B” (perferably a copy of the prod instance so we have some data) and put it in developer_mode 1. I would then develop the app and the “B” (dev server, master-branch, dev mod to 1).
Question now is:
- How do I get that app from “B” to “A”? Just copy the files, or is there a better method?
- Is there even a better setup than having two servers(A and B) running?
- Should I develop on master-branch or do you suggest to always dev in dev-branch?