commit | 04a78741715a0ebbfa4a967e7a82bf599b86de33 | [log] [tgz] |
---|---|---|
author | Simon Klassen <6997477+sklassen@users.noreply.github.com> | Fri Nov 30 15:29:55 2018 +0800 |
committer | Joan Touzet <wohali@users.noreply.github.com> | Fri Nov 30 02:29:55 2018 -0500 |
tree | e93c7294912819b2bbe9575e81202ce417a7a5b8 | |
parent | eeba11879d00af431a99cb709f26b46689872ba6 [diff] |
Improve snap creation (#38) * Added --edge to installation * Changed couchdb.ini from local.d to default.d * Switched config order to standard: default.ini, default.d, local.ini, local.d * couchdb.ini has been moved from local.d to default.d * Re-wrote configuration section to reflect standard order. * Added a 90-override.ini file to ensure HTTP changes go in the last file * Pared back the list of settable options to bare min * Emphasized the q=1 parameter * On fresh installation, copy the local.ini from the rel directory * Add sequence number to couchdb.ini * snap set now only configures vm.args; updated HOWTO to use HTTP configure
Quickstart:
$ cd .. && git clone https://github.com/apache/couchdb $ cd couchdb-pkg && make build-couch $(lsb_release -cs) PLATFORM=$(lsb_release -cs)
docker run
.You can either build packages from a local CouchDB dist tarball (the output of make dist
), or from a URL of a published CouchDB dist tarball (such as the ones on https://couchdb.apache.org/). The package's version number will be derived from the filename of the CouchDB dist tarball.
Run:
$ ./make-packages path/to/apache-couchdb-VERSION.tar.gz
or
$ ./make-packages http://url/to/apache-couchdb-VERSION.tar.gz
Packages will be placed in the pkgs/
subdirectory.
sudo apt install snapd snapcraft
snap/snapcraft.yaml
to point to the correct tag (e.g. 2.1.0
)snapcraft
General feedback is welcome at our user or developer mailing lists.
Apache CouchDB has a CONTRIBUTING file with details on how to get started with issue reporting or contributing to the upkeep of this project.