Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

couchdb-bootstrap

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couchdb-bootstrap

Bootstrap projects: configure CouchDB, setup security, deploy ddocs and create users.

  • 1.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
349
increased by12.22%
Maintainers
1
Weekly downloads
 
Created
Source

CouchDB Bootstrap

Bootstrap CouchDB database:

  • Configure CouchDB
  • Create Databases unless they exist
  • Setup _security Settings
  • Deploy (Design) Documents, Replications and Users

Build
Status

Directory

/path/to/my/project/couchdb
├── _config.json
├── _users
│   ├── alice.json
│   └── bob.json
├── alicedb
│   └── _security.json
└── bobdb
    ├── _design
    │   └── myapp
    │       ├── validate_doc_update.js
    │       └── views
    │           └── by-date
    │               ├── map.js
    │               └── reduce
    └── _security.json

See couch-compile for more details about the CouchDB filesystem mapping used for deploying users, design documents, normal documents and replications.

API

var bootstrap = require('couchdb-bootstrap')
bootstrap('http://localhost:5984', 'project/couchdb', function(error, response) {
  // here we go
})

CLI

couchdb-bootstrap http://localhost:5984 /path/to/my/project/couchdb

Tests

npm test

Keywords

FAQs

Package last updated on 09 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc