#140·earth

Run without node.js

Author: GeoTuxManCreated Jul 4, 2024Updated Jul 15, 2024

I want to run on localhost without node.js; so I change the path for al JS library like that: <script src="libs/earth/1.0.0/micro.js" charset="utf-8"></script> and for css: <link rel="stylesheet" type="text/css" href="styles/styles.css"> Also, I change the paths in products.js: var WEATHER_PATH = "../../../data/weather"; var OSCAR_PATH = "../../../data/oscar"; and in micro.js: var DEFAULT_CONFIG = "../../../data/weather/current/wind/surface/level/orthographic"; var TOPOLOGY = isMobile() ? "../../../data/earth-topo-mobile.json?v2" : "../../../data/earth-topo.json?v2";

Now, when I run from http://localhost/earth-master/public/index.html, it's show Initializing...(see the attached image) earth-master