Make sure you have node v5+ installed:
$ node --version v5.0.0
The normal way to install Dapple is through npm:
$ npm install -g dapple $ dapple help
We recommend a native solc compiler. Install the newest version following this guide.
geth as a rpc client. Follow this guide to install geth.
Dapple uses Ipfs as its data layer. We recommend installing it following this guide.
You can check your ipfs version by running
System specific guides:
If you're on Ubuntu 14.04 or above and don't have Node.js or the Solidity compiler, try following these steps to install them:
apt-get install -y curl curl -sL https://deb.nodesource.com/setup_5.x | bash apt-get update apt-get install -y nodejs
apt-get install -y software-properties-common add-apt-repository ppa:ethereum/ethereum add-apt-repository ppa:ethereum/ethereum-qt apt-get update apt-get install -y cpp-ethereum
apt-get install -y git build-essential python git clone https://github.com/nexusdev/dapple cd dapple npm link
If you can't or don't want to install Dapple and the Solidity compiler
on your host machine, you can use the
dapple-docker wrapper script
to run the whole toolchain inside a Docker container. This script is
used instead of
dapple and can be installed separately:
$ make docker-install $ dapple-docker help
The current directory is automatically mounted into the containers. Note: If you're on OS X, this only works in your home directory.
Your UID and GID are preserved by synthesizing a new user inside each container that mimics the properties of the user on your host machine.
dapple-docker-shell to open a shell in a container:
~$ cd src/dapple ~/src/dapple$ dapple-docker-shell john@63faad532599:~/src/dapple$ dapple help john@63faad532599:~/src/dapple$ npm test john@63faad532599:~/src/dapple$ # etc.