public
Description: Making it easier to adopt a star
Homepage: http://whitedwarf.org/palebluedot/
Clone URL: git://github.com/Sjors/pale-blue-dot.git
Sjors (author)
Tue Sep 15 13:41:25 -0700 2009
commit  2f9886774d24ddb5c47f28c7a63af28db578cfdb
tree    84928649c02f80679885136c610532af21aa69f7
parent  3909636ac484f5211ef3a6730c7aa6bf5d768fb4
name age message
file .gitignore Sun Sep 06 12:02:36 -0700 2009 Download shorter update file. [Sjors Provoost]
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/ Tue Sep 15 13:41:25 -0700 2009 Fixed bug with no number search. [Sjors]
directory config/ Tue Sep 15 12:58:44 -0700 2009 Added app_config.yml to deploy script. [Sjors]
directory db/ Fri Apr 10 13:04:03 -0700 2009 Show star in Google Sky. [Sjors]
directory doc/ Fri Feb 20 22:54:35 -0800 2009 Initial version [Sjors]
file import-stars.sql Tue Sep 15 12:45:31 -0700 2009 Fixed small bug in import [Sjors Provoost]
directory public/ Fri Apr 10 09:52:31 -0700 2009 Added CSS. Added instructions. Star ID in datab... [Sjors]
directory script/ Fri Feb 20 22:54:35 -0800 2009 Initial version [Sjors]
directory test/ Fri Feb 20 22:54:35 -0800 2009 Initial version [Sjors]
file update-stars.sql Sun Sep 06 12:47:55 -0700 2009 Fixed long name truncate bug. [Sjors Provoost]
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/