For the development edition,it is not easy to start it up in offline environment. Can develop in online environment and deploy it in offline environment? If yes, what's the steps to do it?(deploy js SDK, calcite,replace webmap with production webmap......)
Hi @baohuachu7, I assume the most challenging aspect of working in an offline environment is primarily the `npm install` process.
In my experience, I typically run `npm install` in an online environment to ensure everything starts correctly, and then I copy the entire project folder into the offline environment.
For ongoing development needs, you might consider deploying a private npm server, such as Verdaccio or Nexus, within the offline environment.
I believe that transporting the app from online to offline may be difficult due to the associated resources and assets, such as images, icons, maps, layers, and other data.
Let's see if anyone else has some tips or tricks to share in this post! 🙂
Hi @Allen_Zhang ,My idea is in online environment ,down load the code, and then to replace only the resources of maps, layers. But I have not tried it. Not find place to modify "web map id" or "layer url ".
When you run it in offline, are you using the editor in EXB offline to make the changes? Or are you trying to do a copy/pasta run on a json file?
@baohuachu7 are you trying to develop app with developer edition connecting in online environment, and then want to download the app, deploy and run it in offline environment?
@Wei_Ying yes.
Yes it should be possible as long as you replace the data to offline as well. You can search the the datasource in config.json file of the downloaded app and replace the data there.