summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2014-05-05 16:52:25 +0200
committerAzul <azul@riseup.net>2014-05-05 16:52:25 +0200
commit33fdf642742efe08b6e20d57b07dda39fa6e85d6 (patch)
tree51fd81e66eb77941529635a43f50fccd71da9f91
parentebd79fcdc36e0ddf32a1b6b42410fcc947e0c531 (diff)
Capitalize Design Docs properly and make them a h2
-rw-r--r--docs/design/webapp.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/design/webapp.md b/docs/design/webapp.md
index bc53f96..2b078af 100644
--- a/docs/design/webapp.md
+++ b/docs/design/webapp.md
@@ -209,14 +209,14 @@ Please make sure your deploy includes the following files:
We recommend against using an admin user for running the webapp. To avoid this couch design documents need to be created ahead of time and the auto update mechanism needs to be disabled.
Take a look at test/setup_couch.sh for an example of securing the couch.
-### DESIGN DOCUMENTS ###
+## Design Documents ##
After securing the couch design documents need to be deployed with admin permissions. There are two ways of doing this:
* rake couchrest:migrate_with_proxies
* dump the documents as files with `rake couchrest:dump` and deploy them
to the couch by hand or with the platform.
-#### CouchRest::Migrate ####
+### CouchRest::Migrate ###
The before_script block in .travis.yml illustrates how to do this:
@@ -225,7 +225,7 @@ The before_script block in .travis.yml illustrates how to do this:
bundle exec rake couchrest:migrate_with_proxies # looks like this needs to run twice
mv test/config/couchdb.yml.user config/couchdb.yml # drop admin privileges
-#### Deploy design docs from CouchRest::Dump ####
+### Deploy design docs from CouchRest::Dump ###
First of all we get the design docs as files: