-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Comments
Solved.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
The text was updated successfully, but these errors were encountered: