Skip to main content

ZC Buildout recipe to build and install ejabberd.

Project description

The ejabberd http://www.process-one.net/en/ejabberd/ is a distributed, fault-tolerant technology that allows the creation of large-scale instant messaging applications. This buildout recipe downloads and installs ejabberd into an isolated development environment.

A brief documentation

This recipe takes a number of options:

erlang-path

The path where to find the erlc command (default = /usr/local/bin).

url

The URL to download the ejabberd source distribution.

prefix

Prefix path (default = <buildout directory>).

Tests

We will define a buildout template used by the recipe:

>>> buildout_cfg = """
... [buildout]
... parts = ejabberd
... offline = true
...
... [ejabberd]
... recipe = rod.recipe.ejabberd
... url = http://www.process-one.net/downloads/ejabberd/2.1.0-rc1/sources/ejabberd-2.1.0_rc1.tar.gz
... """

We’ll start by creating a buildout:

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

Running the buildout gives us:

>>> output = system(buildout)
>>> if output.endswith("ejabberd\n"): True
... else: print output
True

Changes

1.1.0 2009-10-13

  • Creates custom ejabberd and ejabberdctl scripts.

1.0.0 2009-10-10

  • Initial release.

Project details


Download files

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

Source Distribution

rod.recipe.ejabberd-1.1.0.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

rod.recipe.ejabberd-1.1.0-py2.5.egg (9.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page