Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Making it easier to adopt a star
Ruby JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
public
script
test
vendor/plugins
.gitignore
Capfile
README
Rakefile
import-stars.sql
update-stars.sql

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/

Something went wrong with that request. Please try again.