Dappnode package responsible for providing a WAMP communication using crossbar.io
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
-
git
Install git commandline tool.
-
docker
Install docker. The community edition (docker-ce) will work. In Linux make sure you grant permissions to the current user to use docker by adding current user to docker group,
sudo usermod -aG docker $USER
. Once you update the users group, exit from the current terminal and open a new one to make effect. -
docker-compose
Install docker-compose
Note: Make sure you can run git
, docker ps
, docker-compose
without any issue and without sudo command.
$ git clone https://github.com/dappnode/DNP_WAMP.git
$ docker-compose build
or
$ docker build --rm -f build/Dockerfile -t wamp.dnp.dappnode.eth:dev build
$ docker-compose up -d
$ docker-compose down
$ docker-compose ps
$ docker-compose logs -f
Note: In case of having the port 8080 occupied, you should change them in the file docker-compose.yml by other.
xz is required
$ docker save wamp.dnp.dappnode.eth:dev | xz -9 > wamp.dnp.dappnode.eth_x.y.z.tar.xz
You can download the latest tar.xz version from here releases.
$docker load -i wamp.dnp.dappnode.eth_x.y.z.tar.xz
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Eduardo Antuña Díez - Initial work - eduadiez
See also the list of contributors who participated in this project.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details