No description or website provided.
JavaScript CSS Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
.rvmrc
Capfile
Gemfile
Gemfile.lock
README.rdoc
Rakefile
config.ru

README.rdoc

Redis & Resque

You need redis-server installed and running. Default redis config is in config/resque.yml.

To get the workers running:

QUEUE=statused rake resque:work

You can view the status of resque jobs in the browser using the resque-web tool, which is a great help for debugging.

Deploy

There are a few capistrano and rake tasks for managing the workers, for a current list, run:

cap -vT | grep resque

CartoDB config

We're using the cartodb gem, so you need a config/cartodb_config.yml file. Currently, the gem doesn't support uploading files to create tables, so we've have to manually do the HTTP Post with multipart file, using httpmultiparty. As such, we also need the api_key specified in the config file. List of required keys:

host: 'https://...'
oauth_key: 'YOUR-OAUTH-KEY'
oauth_secret: 'YOUR-OAUTH-SECRET-KEY'
username: 'USERNAME'
password: 'PASSWORD
api_key: 'YOUR-API-KEY'