public
Description: Making it easier to adopt a star
Homepage: http://whitedwarf.org/palebluedot/
Clone URL: git://github.com/Sjors/pale-blue-dot.git
name age message
file .gitignore Loading commit data...
file Capfile Fri Apr 10 13:19:41 -0700 2009 Capified. [Sjors]
file README Sun Apr 12 10:48:52 -0700 2009 Made a few deployment related changes. [Sjors]
file Rakefile Fri Feb 20 22:54:35 -0800 2009 Initial version [Sjors]
directory app/
directory config/
directory db/
directory doc/
file import-stars.sql
directory public/ Fri Apr 10 09:52:31 -0700 2009 Added CSS. Added instructions. Star ID in datab... [Sjors]
directory script/
directory test/ Fri Feb 20 22:54:35 -0800 2009 Initial version [Sjors]
file update-stars.sql
directory vendor/ Fri Apr 10 13:04:03 -0700 2009 Show star in Google Sky. [Sjors]
README
A simple application around the Pale Blue Dot project, to make it easier to adopt a star.

Issue tracker at Lighthouse:
http://sjors.lighthouseapp.com/projects/29064-pale-blue-dot/

More info about the Pale Blue Dot project:
http://whitedwarf.org/palebluedot/

This project is not in any way associated with Pale Blue Dot; it's just me. But who knows that might change.

At the moment, it doesn't do anything useful except show a list of stars. Here's a list of possible improvements (for I 
which I don't have time, so patches are welcome):

* Facebook / Etc integration, e.g.
** show your friend's stars on map
** find a bright star near your friends
* search for cool astronomic coincidences, e.g.
** eclipsed by Jupiter on your birthday
* etc, etc

Installation:

Install ruby on rails on your machine. 

Install MySQL on your machine. Also install development files, e.g. libmysqlclient15-dev

Download the source. 

Run:
sudo rake gems:install

Create a MySQL database:

create database kepler;
grant all privileges on kepler.* to kepler@localhost identified by 'kepler';

Create the stars table:
rake db:mgirate

Download the stars:
wget http://whitedwarf.org/palebluedot/KIC.txt

Import the stars:
mysql kepler -u kepler -p < import-stars.sql

Get a Google Maps API key. 

Copy config/app_config.yml.example to app_config.yml and add your key to this file.

Run server:
script/server

Point your browser to:
 http://localhost:3000/