Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run without node.js #140

Open
GeoTuxMan opened this issue Jul 4, 2024 · 1 comment
Open

Run without node.js #140

GeoTuxMan opened this issue Jul 4, 2024 · 1 comment

Comments

@GeoTuxMan
Copy link

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

@GeoTuxMan
Copy link
Author

Solved....
var WEATHER_PATH = "data/weather";
var OSCAR_PATH = "data/oscar";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant