Hi there, i’m quite new with this erpnext development.
I have my erpnext instance running well on my localhost. I make a few modification for the module.
But now, i don’t know how to upload my erpnext instance on my localhost to my cloud hosting. I’m using Linode for the hosting.
And please suggest to me as well, what the efficient way/ development environment architecture model for the future if i want to update current version with the newest version. Let say I create 1 new module on my localhost and want to upload into existing running erpnext hosting.
Note:
I have background in .NET development where i just need to click PUBLISH button on my Visual Studio to upload whatever changes I made into my hosting server. And i don’t how to do it on ERPNext.
Frappe uses git for source code management. As a best practice, all modifications of the code should be done in your own app. If you’ve done that, transferring your new code to production is often as simple as updating your production bench with a bench update command.
I cannot create Payment Entry for my Education Invoice. And I try above solution, and it works. So in case, in the future I need to do some fixing like this, I don’t want to modify straight away in the live environment.
That’s why I need help how to deploy/publish my local work to live.
Peter, maybe i make it complicated, to make it simple.
Since you said i can do “bench update” for any app i developed using git and before i can do bench update, i need to install the app first to my site right?
And before install the app, i need to do “bench get-app”.
So, how i do “bench get-app” command to get my app from my own github url? Because if i just do “bench get-app xxxx”, i think it will straight away looking the app from "https://github.com/frappe"
I’m also searching for a relatively pain-free solution using either GitHub or backup/restore. However, I do not have 100% confidence on how to attack this…