Skip to content

daikini/chunky_bacon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chunky Bacon – Using Amazon’s Webservices From Ruby

Description:

ChunkyBacon is a suite of applications that use Amazon’s Webservice APIs to produce bacon. Chunky bacon
to be exact. Cartoon foxes then package up this chunky bacon.

Requirements:

  • Merb 0.9+
  • merb_sequel�
  • right_aws
  • kato
  • god

Installation:


  $ git clone http://github.com/daikini/chunky_bacon.git

Getting Started:

Configure Database

  1. Edit the chunky_bacon/factory/config/database.yml file
  2. Edit the chunky_bacon/ec2/config/database.yml file (need not be the same as the factory config)

Start Up the Processes

  1. $ cd chunky_bacon/factory && merb
  2. $ cd chunky_bacon/ec2 && merb -p 4001
  3. $ cd chunky_bacon/factory && merb -r 'CartoonFox.get_packaged_bacon!'
  4. $ cd chunky_bacon/factory && merb -r 'CartoonFox.supervise!'

Producing Chunky Bacon:

  • Open browser to http://localhost:4000/
  • Startup an interactive merb session
    $ cd chunky_bacon/factory && merb -i

    >> Slice.package!

    >> loop { Slice.package!; sleep 1.5 }

Have fun creating as much bacon as you want!

License:

chunky_bacon is licensed under the MIT License. Copyright © 2008 Jonathan Younger

About

MountainWest RubyConf 2008 Presentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages