-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
27 lines (16 loc) · 984 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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