Permalink
Browse files

modified the readme file

  • Loading branch information...
mlmiller committed Mar 2, 2011
1 parent 75236b3 commit e8960cbb2340dd5009dc281ed0cc52e2595b93ad
Showing with 8 additions and 4 deletions.
  1. +8 −4 apps/inventory/README.md
View
@@ -9,13 +9,17 @@ cloudant hosted account (sign up at <https://cloudant.com/#!/solutions/cloud>) o
## Install
<pre><code>
+git clone git@github.com:mlmiller/examples.git
cd inventory
-couchapp push 'http://<user>:<pwd>@<user>.cloudant.com:5984/<db>'
+curl -X PUT 'http://&lt;user&gt;:&lt;pwd&gt;&lt;user&gt;.cloudant.com:5984/&lt;dbname&gt;'
+couchapp push 'http://&lt;user&gt;:&lt;pwd&gt;&lt;user&gt;.cloudant.com:5984/&lt;dbname&gt;'
-To configure the application display, modify the file:
+To configure the application display and behavior, modify the files:
_attachments/index.html
+ _attachments/script.js
+
+To add a new view add a new directory under views. The view name will be the name of the directory (ala myViews) and then you can simply write map.js (and reduce.js if required) in that directory.
-Now view your app at
- http://&lt;user&gt;.cloudant.com:5984/&lt;db&gt;/_design/myDesign/index.html
+Now view your app at http://&lt;user&gt;:&lt;pwd&gt;&lt;user&gt;.cloudant.com:5984/&lt;dbname&gt;/_design/myDesign/index.html

0 comments on commit e8960cb

Please sign in to comment.