Confirmed users
3,816
edits
| Line 4: | Line 4: | ||
To be able to push a Sammy application to a Couchdb instance, the following tools have to be installed: | To be able to push a Sammy application to a Couchdb instance, the following tools have to be installed: | ||
<ol> | |||
<li>[http://nodejs.org/ Node.js] (Follow the instructions)</li> | |||
<li>[https://github.com/isaacs/npm Node package manager] (Follow the instructions) </li> | |||
<li>[https://github.com/mikeal/node.couchapp.js node-couchapp] (Execute the following command in the project folder - this ensures that couchapp is available to JS code in requires() statements)</li> | |||
<blockquote><pre>$ npm install couchapp</pre> </blockquote> | <blockquote><pre>$ npm install couchapp</pre> </blockquote> | ||
<li>You also need to globally install couchapp so that you can use it on the command line:</li> | |||
<blockquote<pre>$ npm install -g couchapp</pre> </blockquote> | <blockquote><pre>$ npm install -g couchapp</pre> </blockquote> | ||
</ol> | |||
===How do I push a Sammy application to a Couchdb?=== | ===How do I push a Sammy application to a Couchdb?=== | ||