Code Monkey home page Code Monkey logo

wincouch's Introduction

WinCouch

The one-click CouchDB package for Windows like Jan Lehnardt's CouchDBX for Mac OS X.

Based on

  • Apache CouchDB - the open source NoSQL JSON database, running on Erlang
  • GeckoFX - an open source component for embedding Mozilla Gecko (Firefox) in .Net applications
  • We built it from source, so you don't have to

Usage

  1. Download and Unzip
  2. Double-Click on WinCouch.exe

TODO

  • Add the source to the repository
  • Add application configuration file

Build from Source

This is not yet sufficient to build from source yourself - we're working on it. But at least you can see the sauce...

WinCouch structure

WinCouch\
    XULrunner\                       #embedded Gecko engine
    Skybound.Gecko.dll               #Gecko shim
    WinCouch.exe
    CouchDB\                         #CouchdB distro
        bin\erl.ini                  #erlang config
        erts-5.8.2\bin\erl.ini       #erlang config
        var\
            log\couchdb\couch.log    #logs
            lib\couchdb\             #database files
        etc\couchdb\local.ini        #customisable config

Get the Bits

Download and unpack the following binaries into the above structure:

Fiddle with the Bits

  • convert %wincouch%\couchdb\etc\couchdb\local.ini to windows file format instead of unix

  • copy both openssl DLLs into %WinCouch%\couchdb\bin\

  • modify couchdb.bat to call werl.exe with -detached (so it doesn't show up in menu)

  • modify both erl.ini files as follows:

      [erlang]
      Bindir=..\\erts-5.8.2\\bin
      Progname=erl
      Rootdir=..
    
  • remove cruft (long list)

      appmon-2.1.13
      asn1-1.6.15
      common_test-1.5.2
      compiler-4.7.2
      cosEvent-2.1.9
      cosEventDomain-1.1.9
      cosFileTransfer-1.1.10
      cosNotification-1.1.15
      cosProperty-1.1.12
      cosTime-1.1.9
      cosTransactions-1.2.10
      debugger-3.2.5
      dialyzer-2.4.0
      docbuilder-0.9.8.9
      edoc-0.7.6.8
      erl_docgen-0.2.3
      erl_interface-3.7.2
      et-1.4.2
      etap
      eunit-2.1.6
      gs-1.5.13
      hipe-3.7.8
      ic-4.2.25
      inviso-0.6.2
      megaco-3.15
      mnesia-4.4.16
      observer-0.9.8.4
      odbc-2.10.9
      orber-3.6.18
      os_mon-2.2.5
      otp_mibs-1.0.6
      parsetools-2.0.5
      percept-0.8.4
      pman-2.7.1
      snmp-4.18
      syntax_tools-1.6.7
      test_server-3.4.2
      toolbar-1.4.1
      tools-2.6.6.2
      tv-2.1.4.6
      typer-0.1.7.5
      webtool-0.8.7
      wx-0.98.8
    
  • or more quickly

      pushd %WinCouch%\couchdb\lib && rd /s/q appmon-* asn1-* common_test-* compiler-* cosEvent-* cosEventDomain-* cosFileTransfer-* cosNotification-* cosProperty-* cosTime-* cosTransactions-* debugger-* dialyzer-* docbuilder-* edoc-* erl_docgen-* erl_interface-* et-* etap eunit-* gs-* hipe-* ic-* inviso-* megaco-* mnesia-* observer-* odbc-* orber-* os_mon-* otp_mibs-* parsetools-* percept-* pman-* snmp-* syntax_tools-* test_server-* toolbar-* tools-* tv-* typer-* webtool-* wx-*
    
  • put some WinCouch & Gecko bits in here next

wincouch's People

Contributors

dch avatar koleto avatar

Watchers

 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.