Skip to main content

ZC Buildout recipe for setting up Riak.

Project description

zc.buildout recipe for downloading and installing Riak.

[![Build Status](https://secure.travis-ci.org/biodec/biodec.recipe.riak.png)](http://travis-ci.org/biodec/biodec.recipe.riak)

see src/biodec/recipe/biodec/README.txt

Credits

Code from http://pypi.python.org/pypi/rod.recipe.rabbitmq package has been used as a starting point.

A brief documentation

This recipe takes a number of options:

erlang-path
The path where to find the erlc command (default = find it in your path).
url
The URL to download the Riak source distribution.
prefix
Prefix path (default = <buildout directory>).
cookie
Optional string passed as cookie to the erl runtime (-setcookie)

Tests

We will define a buildout template used by the recipe:

>>> buildout_cfg = """
... [buildout]
... parts = riakbuild
... offline = true
...
... [riakbuild]
... recipe = biodec.recipe.riak:build
... url = http://s3.amazonaws.com/downloads.basho.com/riak/CURRENT/riak-1.2.0.tar.gz
...
... """

We’ll start by creating a buildout:

>>> import os.path
>>> write('buildout.cfg', buildout_cfg)

Running the buildout gives us:

>>> print system(buildout)
Installing riakbuild.
...
==> rel (compile)
==> riakbuild (compile)
Compiled src/etop_txt.erl
...
Re-run buildout:
>>> print system(buildout)
Updating riakbuild.

Changes

1.0.0a1 (2012-10-29)

first public release.

Project details


Release history Release notifications

This version
History Node

1.0.0a1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
biodec.recipe.riak-1.0.0a1.zip (17.0 kB) Copy SHA256 hash SHA256 Source None Oct 29, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page