I’ve successfully set up docker-compose to handle my bench with erpnext. Great.
Now looking at the files that have been generated in the bench folder, I see:
apps
config
env
logs
node_modules
package-lock.json
-
sites
.
My intent is to have a development environment that mirrors the production environment (i.e. no changes get made on production, only live data comes through and gets stored). First, am I on the right track here?
So, in my .gitignore, I should definitely not check in env
, logs
, and node_modules
, and it appears that I probably shouldn’t check in some or all of apps/erpnext/erpnext/public
and apps/frappe/frappe/public
. Is this right?
My next step is to develop an application for frappe that interfaces with erpnext. It will, of course, be located at apps/sample_app
and be manufactured by bench new-app sample_app
.
After I get my app working and tested, and I want to deploy that app on my production instance, I figure I’ll need to:
- do a
git pull
on production - do a migration to reflect any DocType changes
Is there anything else I should be doing?