Skip to content

Instantly share code, notes, and snippets.

View davidbrewer's full-sized avatar

David Brewer davidbrewer

  • Instrument
  • Portland, OR
View GitHub Profile
@davidbrewer
davidbrewer / gist:802791
Created January 30, 2011 11:19
Sample usage of dewpoint
# find out what sizes and types of nodes are available from your provider
# (these lists are truncated to just three items for clarity)
$ dewpoint list-sizes
-----
name: 256 server
price: None
ram: 256
bandwidth: None
disk: 10
@davidbrewer
davidbrewer / gist:802787
Created January 30, 2011 11:15
Sample Dewpoint configuration file
# ~/.dewpoint/dewpoint.ini
[default]
provider: rackspace
[rackspace]
user: YOUR USER
key: YOUR API KEY
default_size: 256
default_image: Ubuntu 10.04 LTS (lucid)
# update the queue with content from our content sources
./symfony arm:syndication update
# publish content from the queue to our publication targets
./symfony arm:syndication publish
# or, do both those things in one step
./symfony arm:syndication update-and-publish
all:
syndication:
process:
lock_file_prefix: 'arm_syndicator'
log_file_prefix: 'arm_syndicator'
queue:
class: SyndicationQueue
params: ~
syndicator:
class: armSyndicator