Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Making it easier to adopt a star

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Capfile
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 import-stars.sql
Octocat-spinner-32 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.