Update readme with instructions for updating erpnext

This commit is contained in:
PAlexanderFranklin 2024-05-06 11:41:31 -07:00
parent ca83b252b0
commit 2fcd3d694d

View File

@ -111,10 +111,22 @@ https://docs.gitea.com/packages/packages/container
`sudo python3 easy-installer.py --prod --email support@lasthourhosting.org --site erp.sprinklersnorthwest.com`
`bench use` should already be done by the installer.
<!-- `sudo docker compose -p frappe exec backend bench use erp.sprinklersnorthwest.com` -->
Create a project through the dashboard with the sidebar, then login with the admin account and view the projects page through the other dashboard, you should see edits.
To update erpnext, ensure the "backend" container has git repositories in the frappe and erpnext apps:
`git init`
`git remote add upstream <repo>`
`git fetch upstream <branch>`
`git checkout <branch> --force`
`git clean -fd`
Then from ./frappe-bench run:
`bench update`
<!-- `sudo docker compose --project-name brotherton -f compose.yaml -f overrides/compose.mariadb.yaml -f overrides/compose.redis.yaml -f overrides/compose.https.yaml --env-file .env config`
Make images/production/Containerfile available as a package on githaven? need to replace the erpnext repo argument inside it.