2011-06-13 11:23:02 +08:00
SQL API for cartodb.com
========================
2011-06-30 19:13:13 +08:00
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.
2011-06-13 11:23:02 +08:00
usage
------
2011-06-13 11:25:02 +08:00
``` bash
2011-06-30 19:13:13 +08:00
node cluster.js [developement,test,production]
2011-06-13 11:25:02 +08:00
```
2011-06-13 11:23:02 +08:00
tests
------
2011-06-13 11:25:02 +08:00
``` bash
make test
2011-06-30 19:13:13 +08:00
```
core requirements
-------------
* pg_bouncer
* postgres
* redis
* node v0.4.8+
node.js dependencies
---------------------
* npm
2011-06-30 20:06:23 +08:00
To install dependencies from package.json:
``` npm install```
deployment
----------
* capistrano on ruby 1.9.2.
To install dependencies from Gemfile:
2011-06-30 19:13:13 +08:00
2011-06-30 20:06:23 +08:00
```bundle install```
2011-06-30 19:13:13 +08:00
2011-07-01 00:10:10 +08:00
ensure after first code deploy to run the dependencies task:
```cap production node:npm_dependencies```
2011-06-30 19:13:13 +08:00