canmove, Confirmed users, Bureaucrats and Sysops emeriti
4,747
edits
No edit summary |
|||
| Line 13: | Line 13: | ||
</ol> | </ol> | ||
===How do I push a Sammy application to a Couchdb?=== | === How do I setup an instance of the Dashboard? === | ||
To setup an instance of the dashboard you will have to create a vhost entry for Couchdb and setup an appropriate DNS entry for it. It's necessary because the rewrite feature is used. | |||
Therefore open the Futon web interface (e.g. http://mozauto.iriscouch.com/_utils/) and login as administrator. Select the 'Configuration' entry and scroll to the bottom of the configuration page. Click on 'Add a new Section' and enter the requested information as given by the example below: | |||
<blockquote><pre>section: vhosts | |||
option: %dbname%.%host% | |||
value: /%dbname%/_design/dashboard/_rewrite | |||
</pre></blockquote> | |||
If you are using localhost as %host% you can test it by adding an entry like '127.0.0.1 %dbname%.localhost' to /etc/hosts. If you want to make it publicly available to everyone you should create a CNAME entry for your domain. | |||
=== How do I push a Sammy application to a Couchdb? === | |||
Pushing a Sammy application to a Couchdb database can be done in one step. To know which command line options are supported run the following snippet: | Pushing a Sammy application to a Couchdb database can be done in one step. To know which command line options are supported run the following snippet: | ||
<blockquote><pre>$ couchapp help | <blockquote><pre>$ couchapp help | ||