QA/Mozmill Test Automation/Dashboard/FAQ: Difference between revisions

No edit summary
 
Line 2: Line 2:


===Which tools are necessary to push a Sammy application to a couchdb database?===
===Which tools are necessary to push a Sammy application to a couchdb database?===
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.


If you are on Ubuntu you can install node.js via the package manager:
<blockquote><pre>$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get install nodejs npm
</pre> </blockquote>
On other systems you will have to follow the installation instructions:
<ol>
<ol>
<li>[http://nodejs.org/ Node.js] (Follow the instructions)</li>  
<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/isaacs/npm Node package manager] (Follow the instructions) </li>
</ol>
Additional steps:
<ol>
<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>
<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>
canmove, Confirmed users, Bureaucrats and Sysops emeriti
4,747

edits