Skip to content

Commit

Permalink
Merge pull request #33 from Mango-information-systems/master
Browse files Browse the repository at this point in the history
minor corrections in README
  • Loading branch information
max-mapper committed Apr 7, 2012
2 parents 3ea616a + 982098a commit 4944608
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions readme.md
Expand Up @@ -39,7 +39,7 @@ Requirements: node.js >= 0.6 and CouchDB >= 1.1
Install node.js v0.6.11 and npm

// install node
git clone clone git://github.com/joyent/node.git
git clone git://github.com/joyent/node.git
cd node/
git checkout v0.6.11
./configure && make && sudo make install
Expand All @@ -51,7 +51,7 @@ Simply [build couchdb](https://github.com/iriscouch/build-couchdb) or do `brew i
Create a couchdb admin user via the futon admin / logout area in the bottom right corner of the screen. You can't run datacouch in admin party.

You need to go [create a twitter app](https://dev.twitter.com/apps/new) in order to use datacouch (it uses Twitter for login).
NOTE: If you create a new app and leave the callback url blank then datacouch will fail to authenticate. Twitter will respond with a 401 of "Desktop applications only support the oauth_callback value 'oob'". Just enter "http://localhost" as your callback url.
NOTE: If you create a new app and leave the callback url blank then datacouch will fail to authenticate. Twitter will respond with a 401 of "Desktop applications only support the oauth_callback value 'oob'". Just enter "http://127.0.0.1" as your callback url.

Once your app is complete copy the consumer secret, key and couch url (with admin credentials) into your environment via `.bashrc`/`.bash_profile`:

Expand All @@ -67,4 +67,6 @@ Now you can start datacouch!
node run.js
open http://localhost:9999

if you get errors the first time you run `run.js` just run it a few times and it should work itself out hehehehe!
If you get errors the first time you run `run.js` just run it a few times and it should work itself out hehehehe!

In case you get the "Error: listen EACCESS", you should either execute node run.js as root, or modifiy the default port in the file services/defaults.js (9999 works well)

0 comments on commit 4944608

Please sign in to comment.