Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
pangratz666 edited this page Mar 17, 2011 · 15 revisions

#Usage#

Wanna know how this module is used so you can create your own amazing CouchApp with views, lists, etc. and do some pushing, then you're in the right place.

##Create a new CouchApp##

To create a new CouchApp project inside NetBeans choose File -> New Project and select the CouchApp as shown in the figure.

NewCouchAppDialog1

On the next dialog page you can enter the name of the project and it's location. Additionally you can specify wether you want to create a new CouchApp or if you want to push an existing one. To do so you have to select the corresponding item and specify the URL. Clicking on finish will create either a new CouchApp or push the existing one. Either way, you successfully created a CouchApp project which can be modified as described in the next section.

NewCouchAppDialog2

The project structure of a newly created CouchApp is shown in the next screenshot.

ProjectStructure

##Create a new View/List/Filter/Show/Update##

A right click on the root of a CouchApp project opens a Pop Up which lets you create new Views, Filters, and so on.

GenerateViewPopUp

To create - for instance - a new view, you just have to click the corresponding item in the PopUp and afterwards a dialog appears where you have to enter a name for stuff you wanna create.

GenerateViewDialog

ProjectStructureAfterViewGenerated

##Ready, Set, Push!##

PushCouchAppDialog

Clone this wiki locally