update gitignore

This commit is contained in:
Simon Tokumine 2011-06-30 12:13:13 +01:00
parent 317da1f311
commit 8acd6ff95b
3 changed files with 24 additions and 6 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ logs/
pids/
*.sock
test/tmp/*
node_modules/

View File

@ -1,12 +1,12 @@
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.
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
------
``` bash
node app.js [developement,test,production]
node cluster.js [developement,test,production]
```
tests
@ -14,3 +14,21 @@ tests
``` bash
make test
```
core requirements
-------------
* pg_bouncer
* postgres
* redis
* node v0.4.8+
node.js dependencies
---------------------
* npm
then to install dependencies from package.json:
``` npm install .```

View File

@ -27,10 +27,9 @@ _.extend(global.settings, env);
cluster('./app/controllers/app')
.use(cluster.logger('logs'))
.set('workers', 2)
.use(cluster.stats())
.use(cluster.pidfiles('pids'))
.use(cluster.cli())
.use(cluster.repl(8888))
.use(cluster.debug())
.listen(4000);
.listen(global.settings.node_port);