I installed the JavaScript API SDK 3.3 successfully on my Python server (no Internet) by replacing [HOSTNAME_AND_PATH_TO_JSAPI] with "127.0.0.1:8001/arcgis_js_api/library/3.3/jsapi/js".
But I realized that I cannot hard code the IP address and port number in the init.js because my server is configurable based on a config file during the start-up sequence.
How can I install the SDK in such an environment? Is it true that the location.protocol is default to "http:"? Do you think making location.protocol equal to "file:" will work? And what do I enter in the [HOSTNAME_AND_PATH_TO_JSAPI]? Thanks.