2.5 Offline access with single site
If you have some places where internet connectivity is low, for example, a store in a remote area where sales invoices are generated and you want to sync these invoices from the store to the hosted account, you could setup offline syncing using the following steps:
- Set up an ERPNext local instance. You can refer this guide for local setup.
- You need to have hosted account with your company set up.
- Now create an Event Producer on the hosted account and set the producer URL to the URL of your local account.
- Add whatever doctypes you want to sync in the Event Producer Document Types child table.
- Approve the doctypes.
The above excerpt is from the ERPNext Documentation. It is however not very clear. The particular area where clarification is needed is with regards to the local setup in step 1. The reference only directly links to the Github page for Bench
Should the local setup be a production setup (ie running with Nginx, Supervisor) ?
In step 3, we need to input the URL of the local account… how exactly is this achieved since it is a local account ? A simple example would be greatly appreciated