Closed ekryski closed 10 years ago
If we do npm install -g roach we should then be able to simply run the server in two ways:
npm install -g roach
roach run --port 5000 --crawlers /users/eric/dev/crawlers
var roach = require('roach').server({ port: 5000, crawlers: './crawlers' }); // Do some stuff. roach.run();
roach run -r
the -r --redis option allows you to configure a redis client (port, host) with a nice and easy prompt.
-r --redis
If we do
npm install -g roach
we should then be able to simply run the server in two ways:roach run --port 5000 --crawlers /users/eric/dev/crawlers