Coder Social home page Coder Social logo

couch_tools's Introduction

Lonely Planet CouchDB tools

Just a bunch of useful scripts the dev/ops team at Lonely Planet find useful for deploying and doing sysadmin type tasks on our CouchDB servers. Who knows, maybe someone else might find them useful as well.

Any issues, or feedback hit up Julian Doherty/@madlep

Heres the goodies you get:

  • add_couch_user - Prompts you for a server username/password, then allows you to add other users. Basically automates what the security page describes for setting up user security.
  • compact_couch - For a given server URL, runs database compaction for all databases, runs view compaction for all design docs in all databases, and runs view cleanup for all databases.
  • replicate_couch - triggers pull replication between local source and remote target server for multiple DBs.

user/passwords can be configured in a separate .yml file which can be secured separately and only exposed to the user that runs the script (to keep the paranoid ops folks happy)

couch_tools's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.