Go to file
2011-09-07 15:33:40 +01:00
app updated to post 2011-09-07 12:05:10 +01:00
config updated acceptance tests for host name based public api and made work :) 2011-08-24 20:47:10 +01:00
logs updated gitignore and added required directories for node cluster to work out of the box 2011-09-05 17:01:23 +01:00
pids updated gitignore and added required directories for node cluster to work out of the box 2011-09-05 17:01:23 +01:00
test upgraded pg package. tests updated 2011-09-07 15:33:40 +01:00
.gitignore updated gitignore and added required directories for node cluster to work out of the box 2011-09-05 17:01:23 +01:00
app.js trim startup things 2011-08-23 14:58:06 +01:00
Capfile added initial capistrano files, and gem file 2011-06-30 13:06:23 +01:00
cluster.js revert changes to config - sorry andrew 2011-09-07 12:10:16 +01:00
Gemfile added initial capistrano files, and gem file 2011-06-30 13:06:23 +01:00
Gemfile.lock added initial capistrano files, and gem file 2011-06-30 13:06:23 +01:00
package.json upgraded pg package. tests updated 2011-09-07 15:33:40 +01:00
README.md added true oauth to application. got rid of bogus 2011-08-17 17:27:45 +01:00
TODO.md updated error messages 2011-08-25 11:15:52 +01:00

SQL API for cartodb.com

Provides a concurrent event driven interface for running SQL queries against the cartoDB postgres database. Users are authenticated over oAuth. Also provides ability to make public "SELECT" only calls.

usage

node cluster.js [developement,test,production]

tests

npm test-unit
npm test-acceptance

make sure you have setup your database connections in /config, and have the correct databases and keys setup in redis (hint, for redis, you'll need a HSET rails:oauth_tokens:1 user_id 1 for the acceptance tests)

core requirements

  • pg_bouncer
  • postgres
  • redis
  • node v0.4.8+

node.js dependencies

  • npm

To install dependencies from package.json:

npm install

deployment

  • capistrano on ruby 1.9.2.

To install dependencies from Gemfile:

bundle install

ensure after first code deploy to run the dependencies task:

cap production node:npm_dependencies