retroTrack is a web-based satellite tracking program that uses TLE's to calculate and display the orbits of satellites using HTML5 canvas.
retroTrack was developed on top of the popular CakePHP MVC framework and shares its requirements. Namely:
In addition, the retroTracker satellite tracker display requires that the user's browser supports:
Finally, cURL must be installed and loaded into PHP.
Here are some brief installation instructions.
If you want to install retroTrack to a directory (or use Apache's Alias feature), you must add a rewrite base for the directory to three .htaccess files. These files are:
So, for example, if retroTrack were setup at mysite.com/retrotrack/ webroot/.htaccess would look like:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /retrotrack/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
To configure Apache to run retroTrack from a directory, simply setup an alias and enable FollowSymLinks (important) for that directory. For example, if you want retroTrack to appear at /tools/retrotrack, your default virtual host may look like:
<VirtualHost *:80>
DocumentRoot /var/www
DirectoryIndex index.html index.php
# Setup directory aliases
Alias /tools/retrotrack /var/other_apps/retroTrack/www/app/webroot
<Directory /var/other_apps/retroTrack/www/app/webroot>
Options FollowSymLinks
AllowOverride ALL
</Directory>
</VirtualHost>
This is preferred to just copying retroTrack to a directory of /var/www because it only allows access to the app/webroot folder.
After retroTrack has been installed, you can access the administration panel at retrotrackerlocation.com/admin using the 'admin' user with the password you created in step 5 above. From the administration panel you can:
If you wish to modify retroTrack tracker display page, remember to also update the static version template in app/Vendor/static_template/index.html.
retroTracks's TLE source can be updated by using a standard CRON tab. To make use of this feature, simply set up a CRON tab to call:
/path/to/retroTrack/app/Console/cake TleUpdate update
The retroTrack satellite tracker relies heavily on John A. Magliacane's javascript port of Predict.