vibe-d 0.7.18-beta.3

Asynchronous I/O framework


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

vibe.d

vibe.d is an asynchronous I/O and web application framework written in D. It already contains many supplemental features such as database support to be able to offer a complete development toolbox. Extensions are supported in the form of DUB modules.

Visit the website at http://vibed.org/ for more information.

Installation

Instead of explicitly installing vibe.d, it is now recommended to use DUB for building vibe.d based applications. Once DUB is installed, you can create a new project by running dub init <name> and enable the use of vibe.d by adding the following dependency to the package.json file in your project's directory:

{
    "name": "your-project-identifier",
    "dependencies": {
        "vibe-d": ">=0.7.16"
    }
}

The latest versions of DUB also support dub init <name> vibe.d, which automatically adds the required dependency. Invoking dub will then fetch the latest vibe.d and compile and run the project.

Similarly, you can run an example by invoking dub from any of the example project directories.

Additional setup on Windows

Additional setup on Mac using brew

If you don't have brew installed, install it according to their install instructions and install libevent.

ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
brew install libevent

(Note: Install brew only if you do not have macports, as they will conflict)

Install DMD using the installer on http://dlang.org/download.html.

Optionally, run ./setup-mac.sh to create a user/group pair for privilege lowering.

Additional setup on Linux (Debian/Ubuntu/Mint)

Install vibe.d's dependencies (*)

sudo apt-get install libevent-dev libssl-dev


On 32-bit linux: Install DMD-i386

sudo apt-get install g++ gcc-multilib xdg-utils
wget "http://ftp.digitalmars.com/dmd_2.062-0_i386.deb"
sudo dpkg -i dmd_2.062-0_i386.deb


On 64-bit linux: Install DMD-amd64

sudo apt-get install g++ gcc-multilib xdg-utils
wget "http://ftp.digitalmars.com/dmd_2.062-0_amd64.deb"
sudo dpkg -i dmd_2.062-0_amd64.deb


Optionally, run ./setup-linux.sh to create a user/group pair for privilege lowering.

(*) Note that Debian 6 (Squeeze) and older requires manual installation (see below).

Additional setup on Linux (generic)

You need to have the following dependencies installed:

Optionally, run ./setup-linux.sh to create a user/group pair for privilege lowering.

(*) Note that some Linux distributions such as Debian Squeeze or CentOS 6 may only ship libevent 1.4, in this case you will have to manually compile the latest 2.0.x version:

wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar -xf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure
make
make install
ldconfig

Additional setup on FreeBSD

Install the DMD compiler and vibe.d's dependencies using portupgrade or a similar mechanism:

sudo portupgrade -PN devel/libevent2 devel/pkgconf

Optionally, run ./setup-freebsd.sh to create a user/group pair for privilege lowering.

Authors:
  • Sönke Ludwig
  • Jan Krüger
  • Matthias Dondorff
  • see github for more
Dependencies:
openssl
Versions:
0.10.0 2024-Feb-17
0.10.0-rc.1 2024-Feb-17
0.9.8 2024-Feb-16
0.9.8-rc.1 2024-Feb-15
0.9.8-beta.3 2024-Feb-10
Show all 225 versions
Download Stats:
  • 2692 downloads today

  • 8584 downloads this week

  • 24059 downloads this month

  • 1344211 downloads total

Score:
5.0
Short URL:
vibe-d.dub.pm