We recently obtained an ArcGIS licensed account, and I have to migrate the web app I developed in EB Developer Ed. on my desktop from the free AGOL developer account to this new account. The web map itself has already been migrated.
I figure the way I would do that is to run two instances of EB dev ed on my desktop, with the 2nd instance running on a different port. Eg. if the original runs on TCP ports 3000 & 3001, then have the 2nd instance run on TCP ports 4000 & 4002. Thus, the redirect URL for the 2d instance is https://localhost:4001/
How do I go about doing this since the Esri docs have no info?
Or is there an easier way to migrate my web app?
Solved! Go to Solution.
You can copy an item from the /server/public/apps/<your-app-id> directory into a matching directory in your second EB instance.
But if you really wanted to run two instances, you can find this in the /server/src/server.js file:
port=commander.port||process.env.EXB_HTTP_PORT||3e3,httpsPort=commander.https_port||process.env.EXB_HTTPS_PORT||3001
I altered mine to read 4001 and 4002, respectively, and then got this after running npm start.
You can copy an item from the /server/public/apps/<your-app-id> directory into a matching directory in your second EB instance.
But if you really wanted to run two instances, you can find this in the /server/src/server.js file:
port=commander.port||process.env.EXB_HTTP_PORT||3e3,httpsPort=commander.https_port||process.env.EXB_HTTPS_PORT||3001
I altered mine to read 4001 and 4002, respectively, and then got this after running npm start.