update gitignore
This commit is contained in:
parent
317da1f311
commit
8acd6ff95b
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ logs/
|
||||
pids/
|
||||
*.sock
|
||||
test/tmp/*
|
||||
node_modules/
|
22
README.md
22
README.md
@ -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 .```
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user