Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.05 KB

CONTRIBUTING.md

File metadata and controls

56 lines (36 loc) · 1.05 KB

Contribute to the Xud-Docker Project

The following instructions are geared towards developers, intending to contribute to xud-docker.

Prerequisites

Golang 1.15 (or higher)

Initial setup

git clone https://github.com/ExchangeUnion/xud-docker.git

Developing a feature

Create a feature branch.

git checkout -b your-feature

Make your desired changes to the images or launcher.

Build your modified images.

tools/build <image>:<tag>

Build the launcher

cd launcher
make

Run your branch with modified images locally

./launcher setup

To let others test without building the images by themselves push your feature branch to remote repository. Travis will build & push images for you.

git push origin your-feature

After the corresponding GitHub actions build succeeded, other people can easily run your feature branch on their machine like this.

BRANCH=your-feature xud-launcher setup

The xud-launcher binary is from here.