summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-09-07 00:44:41 -0700
committerelijah <elijah@riseup.net>2015-09-07 00:44:41 -0700
commit3e8771097ab7392560fdf07a85c011c23098fd1e (patch)
tree5d43638b71f2658facab66f303656586d8801e6b /doc
parent8e25ce5e54d13a8bb52a8c209e47b5a9a945f61a (diff)
parent47d8ea67148bb8ebab333c78e90cd0baf2b028d0 (diff)
Merge branch 'feature/readme-updates' of https://github.com/kaeff/leap_web into develop
Diffstat (limited to 'doc')
-rw-r--r--doc/DEVELOP.md26
1 files changed, 25 insertions, 1 deletions
diff --git a/doc/DEVELOP.md b/doc/DEVELOP.md
index 991218e..cdd0867 100644
--- a/doc/DEVELOP.md
+++ b/doc/DEVELOP.md
@@ -1,5 +1,29 @@
# Development #
+## Setting up the local CouchDB
+
+CouchDB operates in Admin Party by default, meaning there are no access
+control checks. This is handy for local development. However, there is
+the risk that running tests with Couch in Admin Party yields false
+results.
+
+You have two options:
+
+1) Use Admin Party and accept the risk
+2) Stop Admin Party by creating user accounts & security docs by running the
+following script:
+
+ test/travis/setup_couch.sh
+
+### Database configuration
+
+Copy & adapt the default database configuration:
+
+```
+mv config/couchdb.example.yml config/couchdb.yml
+mv config/couchdb.admin.example.yml config/couchdb.admin.yml
+```
+
## Continuous Integration ##
See https://travis-ci.org/leapcode/leap_web for CI reports.
@@ -88,4 +112,4 @@ One solution is to temporarily modify the apache config to proxypass the TLS req
ProxyPassReverse / http://127.0.0.1:3000/
ProxyPreserveHost on
....
- </virtualhost> \ No newline at end of file
+ </virtualhost>