Go to file
2011-07-01 12:00:39 +01:00
app oauth 2011-06-20 15:39:12 +02:00
config change port to 8080 2011-07-01 12:00:39 +01:00
lib first draft, tidied, unit tests, modules, refactor, environments, see TODO for next steps" 2011-06-13 04:23:02 +01:00
test added dangerous test 2011-06-20 18:22:46 +02:00
.gitignore update gitignore 2011-06-30 12:13:13 +01:00
app.js oauth 2011-06-20 15:39:12 +02:00
Capfile added initial capistrano files, and gem file 2011-06-30 13:06:23 +01:00
cluster.js Remove debug statement 2011-06-30 17:10:10 +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
Makefile New rules for running tests 2011-06-13 12:29:57 +02:00
package.json added npm package file for dependencies 2011-06-30 12:13:39 +01:00
README.md Remove debug statement 2011-06-30 17:10:10 +01:00
TODO.md added initial capistrano files, and gem file 2011-06-30 13:06:23 +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

make test

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