summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/files/designs/Readme.md
blob: 983f629ffa5d9e63c10d199f912f3683b84157d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This directory contains design documents for the leap platform.

They need to be uploaded to the couch database in order to query the 
database in certain ways.

Each subdirectory corresponds to a couch database and contains the design
documents that need to be added to that particular database.

Here's an example of how to upload the users design document:
```bash
HOST="http://localhost:5984"
curl -X PUT $HOST/users/_design/User --data @users/User.json

```