koansys / isat

Satellite Orbit Tracker: implement most-current SGP models and algorithms in JavaScript, then use to visualize hundreds of satellites with any browser
BSD 3-Clause "New" or "Revised" License
96 stars 38 forks source link

Viz Demo folder should use Relative Paths #140

Open Digicrat opened 11 years ago

Digicrat commented 11 years ago

I just cloned the repository to check out your work and the visualization does not work 'out of the box.' I have gotten it working though, and am impressed by what you've put together.

The paths are currently hard-coded to an absolute path of '/media/sot/...'. To correct this, I did a simple find-replace on the viz directory to remove the '/media/sot' prefix. Files affected include index.min.js, sot_body.html, sot_extra_header.html, sot_text_body.html, and modernizr_load.js. I would submit a pull request, but I've yet to learn how to use github properly.

On a similar vein, 'viz/Images' should be renamed 'viz/images' to prevent issues on servers with case-sensitive paths.