Skip to content

adamhope/re-amped

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

re-amped - make your own museum....

powerhouse api key: 4db781fa8bf0ad9
powerhouse api eg:

    http://api.powerhousemuseum.com/api/v1/item/json/?api_key=4db781fa8bf0ad9&description=basket
    
Gems:
sudo gem install rails -v 2.3.4

Grab cached gems from Breezy's USB:

    # Makes them available to rubygems when installing
    sudo cp /Volumes/LIFE\ ON\ USB/cache/* /opt/local/lib/ruby/gems/1.8/cache

Getting JSON from the app:

 * All blocks: http://localhost:3000/blocks.json

      [{"block":{"created_at":"2010-10-16T01:31:41Z","x":0,"y":0,"updated_at":"2010-10-16T01:31:41Z","id":1,"user_id":null,"south":1,"north":1,"west":1,"east":1}}]

 * A block:    http://localhost:3000/blocks/1.json

      {"block":{"created_at":"2010-10-16T01:31:41Z","x":0,"y":0,"updated_at":"2010-10-16T01:31:41Z","id":1,"user_id":null,"south":1,"north":1,"west":1,"east":1}}

MySQL  DB update and fixture import:
    rake db:migrate:reset && mysql -u root amped_development < scratch/elam/fixture

About

Entry for Amped 2010

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published