dataarts / webgl-globe

WebGL Globe is a platform for visualizing latitude longitude based information using WebGL.
https://experiments.withgoogle.com/chrome/globe
Other
3.59k stars 1.15k forks source link

Cannot run any Globes locally #61

Closed 3dmund closed 7 years ago

3dmund commented 7 years ago

When I open index.html in the folder globe, there is no globe. This is what it looks like, and I get the error messages logged to console in the bottom right.

screen shot 2016-10-27 at 11 10 42 pm
3dmund commented 7 years ago

I fixed the last error and now I just get this error. If someone can help that would be greatly appreciated. This is for a coding challenge due this weekend. Thanks!

screen shot 2016-10-27 at 11 13 49 pm
guillaumeguerin commented 7 years ago

You can't double clic on your index.html and expect it to work.

You need to run a server first, put your files in it, and access it via something like localhost:8080/globe/index.html, then it will work. Have a look at XAMPP for example it is very beginner friendly.

Good luck for your coding challenge this week end though.

brtkwr commented 7 years ago

If you have python installed, change to the root folder containing this repository, then run the following on terminal/command.exe: $ python -m http.server 8080

Then on your browser, type: http://localhost:8080

itsN1X commented 7 years ago

Or you could skip the CLI gimmicks using VNC or FileZilla or something easier to get up your testing server running.. I run my own web servers in my apartment xD