- Create a database user (https://github.com/aktos-io/aktos-dcs-node/blob/master/services/couch-dcs/doc/security.md#create-db-users)
- Download the database user json file as "./db-user.json"
- Create a database.
- Configure the "_security" document inside the database.
- Configure the database via "#/showcase/database" page.
Optional:
-
Configure a different port for webserver and dcs in config.ls.
-
Create the following view in your database as
_design/mydocument
:
views:
mydocument:
map: (doc) ->
prefix = doc._id.split "-" .0
if prefix is \mydocument
emit doc._id, {subject: doc.subject}