{"id":16889691,"url":"https://github.com/benoitc/couchdb-old","last_synced_at":"2025-03-20T07:18:29.418Z","repository":{"id":606668,"uuid":"243573","full_name":"benoitc/couchdb-old","owner":"benoitc","description":"Couchdb mirror repo to handle some custom dev","archived":false,"fork":false,"pushed_at":"2009-08-14T17:34:43.000Z","size":3080,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T11:52:30.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benoitc.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-07-05T11:17:22.000Z","updated_at":"2020-01-21T11:12:58.000Z","dependencies_parsed_at":"2022-07-18T09:08:55.880Z","dependency_job_id":null,"html_url":"https://github.com/benoitc/couchdb-old","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Fcouchdb-old","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Fcouchdb-old/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Fcouchdb-old/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Fcouchdb-old/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benoitc","download_url":"https://codeload.github.com/benoitc/couchdb-old/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566948,"owners_count":20473451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T16:58:24.946Z","updated_at":"2025-03-20T07:18:29.399Z","avatar_url":"https://github.com/benoitc.png","language":"Erlang","readme":"Apache CouchDB README\n=====================\n\nApache CouchDB is alpha software and still under heavy development. Please be\naware that important areas such as the public API or internal database format\nmay see backwards incompatible changes between versions.\n\nBuilding From Checkout\n----------------------\n\nYou can skip this section if you are installing from a release tarball.\n\nDependencies\n~~~~~~~~~~~~\n\nTo build Apache CouchDB from checkout you need some of the following installed:\n\n * GNU Automake (\u003e=1.6.3) (http://www.gnu.org/software/automake/)\n * GNU Autoconf (\u003e=2.59)  (http://www.gnu.org/software/autoconf/)\n * GNU Libtool            (http://www.gnu.org/software/libtool/)\n * GNU help2man           (http://www.gnu.org/software/help2man/)\n\nDebian-based (inc. Ubuntu) Systems\n++++++++++++++++++++++++++++++++++\n\nYou can install the dependencies by running:\n\n    apt-get install automake autoconf libtool help2man\n\nMac OS X\n++++++++\n\nYou can install the dependencies using MacPorts by running:\n\n    port install automake autoconf libtool help2man\n\nBootstrapping\n~~~~~~~~~~~~~\n\nNote: You must repeat this step every time you update your checkout.\n\nBootstrap the pristine source by running:\n\n    ./bootstrap\n\nInstallation and First Run\n--------------------------\n\nUnix-like Operating Systems (inc. Mac OS X)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nDependencies\n^^^^^^^^^^^^\n\nTo build and install Apache CouchDB you will need the following installed:\n\n * Erlang OTP (\u003e=R12B)     (http://erlang.org/)\n * ICU                     (http://icu.sourceforge.net/)\n * OpenSSL                 (http://www.openssl.org/)\n * Mozilla SpiderMonkey    (http://www.mozilla.org/js/spidermonkey/)\n * libcurl                 (http://curl.haxx.se/libcurl/)\n * GNU Make                (http://www.gnu.org/software/make/)\n * GNU Compiler Collection (http://gcc.gnu.org/)\n\nIt is recommended that you install Erlang OTP R12B-4 or above where possible.\n\nDebian-based (inc. Ubuntu) Systems\n++++++++++++++++++++++++++++++++++\n\nYou can install the dependencies by running:\n\n    apt-get install build-essential erlang libicu-dev libmozjs-dev libcurl4-openssl-dev\n\nIf you get an error regarding the `libicu38` or `libicu-dev` be sure to check\nthe version used by your distribution (using `apt-cache search libicu`) and\ninstall those packages instead. `libcurl4-openssl-dev` is the current version of\n`libcurl-dev` supplied by Ubuntu. You may need to specify an alternate package\nname for libcurl bindings.\n\nMac OS X\n++++++++\n\nTo install GNU Make and the GNU Compiler Collection on Mac OS X you should\ninstall the Xcode Tools metapackage by running:\n\n    open /Applications/Installers/Xcode\\ Tools/XcodeTools.mpkg\n\nYou can install the dependencies using MacPorts by running:\n\n    port install icu erlang spidermonkey curl\n\nInstalling\n^^^^^^^^^^\n\nOnce you have satisfied the dependencies you should run:\n\n    ./configure\n\nNote: Apache CouchDB is installed into `/usr/local` by default. If you want to\nchange where Apache CouchDB is installed (or where to find Erlang) be sure to\nread the output from running the `./configure --help` command.\n\nNote: All the examples assume you have installed into `/usr/local`.\n\nIf everything was successful you should see the following message:\n\n    You have configured Apache CouchDB, time to relax.\n\nRelax.\n\nTo install Apache CouchDB you should then run the following command:\n\n    make \u0026\u0026 sudo make install\n\nNote: The use of the `sudo` command is only required if you are installing into\na system owned directory. You do not need to do this if you are installing\nelsewhere, such as your home directory.\n\nIf you are having problems running `make` you may want to try running `gmake` if\nthis is available on your system.\n\nMore options can be found by reading the `INSTALL` file.\n\nSecurity Considerations\n^^^^^^^^^^^^^^^^^^^^^^^\n\nIt is not advisable to run Apache CouchDB as the superuser. We strongly\nrecommend that you create a specific user to run Apache CouchDB and own the\ndata/log directories.\n\nYou can use whatever tool your system provides to create a new `couchdb` user.\n\nOn many Unix-like systems you can run:\n\n    adduser --system --home /usr/local/var/lib/couchdb --no-create-home \\\n            --shell /bin/bash --group --gecos \"CouchDB Administrator\" couchdb\n\nMac OS X provides the standard Accounts option from the System Preferences\napplication or you can optionally use the Workgroup Manager application which\ncan be downloaded as part of the Server Admin Tools:\n\n  http://www.apple.com/support/downloads/serveradmintools1047.html\n\nYou should make sure that the `couchdb` user has a working POSIX shell and set\nthe home directory to `/usr/local/var/lib/couchdb` which is the Apache CouchDB\ndatabase directory.\n\nChange the ownership of the Apache CouchDB directories by running:\n\n    chown -R couchdb:couchdb /usr/local/etc/couchdb\n    chown -R couchdb:couchdb /usr/local/var/lib/couchdb\n    chown -R couchdb:couchdb /usr/local/var/log/couchdb\n    chown -R couchdb:couchdb /usr/local/var/run/couchdb\n\nChange the permission of the Apache CouchDB directories by running:\n\n    chmod -R 0770 /usr/local/etc/couchdb\n    chmod -R 0770 /usr/local/var/lib/couchdb\n    chmod -R 0770 /usr/local/var/log/couchdb\n    chmod -R 0770 /usr/local/var/run/couchdb\n\nRunning Manually\n^^^^^^^^^^^^^^^^\n\nYou can start the Apache CouchDB server by running:\n\n    sudo -i -u couchdb couchdb -b\n\nThis uses the `sudo` command to run the `couchdb` command as the `couchdb` user.\n\nWhen Apache CouchDB starts it should eventually display the following message:\n\n    Apache CouchDB has started, time to relax.\n\nRelax.\n\nTo check that everything has worked, point your web browser to:\n\n  http://127.0.0.1:5984/_utils/index.html\n\nFrom here you should run the test suite.\n\nTroubleshooting\n^^^^^^^^^^^^^^^\n\nIf you're getting a cryptic error message, visit the wiki:\n\n  http://wiki.apache.org/couchdb/Error_messages\n\nFor general troubleshooting, visit the wiki:\n\n  http://wiki.apache.org/couchdb/Troubleshooting\n\nRunning as a Daemon\n^^^^^^^^^^^^^^^^^^^\n\nNote: These instructions assume you have created the `couchdb` user. See the\nspecific system information included below to learn how to reconfigure this.\n\nNote: If any of these methods report a failure you can run the `couchdb` command\nmanually to see the error messages it is displaying.\n\nThe `/usr/local/etc/logrotate.d/couchdb` file is provided as a logrotate\nconfiguration that you can use to rotate Apache CouchDB's logs.\n\nSysV/BSD-style Systems\n++++++++++++++++++++++\n\nDepending on your system the `couchdb` init script will be installed into a\ndirecory called `init.d` (for SysV-style systems) or `rc.d` (for BSD-style\nsystems). These examples use the `[init.d|rc.d]` notation to indicate this.\n\nYou can control the Apache CouchDB daemon by running:\n\n    /usr/local/etc/[init.d|rc.d]/couchdb [start|stop|restart|force-reload|status]\n\nIf you wish to configure how the init script works, such as which user to run\nApache CouchDB as, you must edit the `/usr/local/etc/default/couchdb` file as\nappropriate. If you are running the init script as a non-superuser you need to\nremove the line with the `COUCHDB_USER` setting.\n\nIf you wish the Apache CouchDB daemon to run as a system service you need to\ncopy the `/usr/local/etc/[init.d|rc.d]/couchdb` script into your system wide\n`/etc/[init.d|rc.d]` directory and update your system configuration.\n\nYou may be able to configure your system using the following command:\n\n    sudo update-rc.d couchdb defaults\n\nConsult your system documentation for more information.\n\nMac OS X\n++++++++\n\nYou can use the `launchctl` command to control the Apache CouchDB daemon.\n\nYou can load the launchd configuration by running:\n\n    sudo launchctl load /usr/local/Library/LaunchDaemons/org.apache.couchdb.plist\n\nYou can stop the Apache CouchDB daemon by running:\n\n    sudo launchctl unload /usr/local/Library/LaunchDaemons/org.apache.couchdb.plist\n\nYou can start Apache CouchDB by running:\n\n    sudo launchctl start org.apache.couchdb\n\nYou can restart Apache CouchDB by running:\n\n    sudo launchctl stop org.apache.couchdb\n\nYou can change the launchd configuration by running:\n\n    open /usr/local/Library/LaunchDaemons/org.apache.couchdb.plist\n\nIf you want the Apache CouchDB daemon to run at startup, copy the\n`/usr/local/Library/LaunchDaemons/org.apache.couchdb.plist` file to your system\n`/Library/LaunchDaemons` directory.\n\nWindows\n~~~~~~~\n\nWindows documentation is incomplete. Please submit suggestions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitc%2Fcouchdb-old","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenoitc%2Fcouchdb-old","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitc%2Fcouchdb-old/lists"}