Commit e8179ebe authored by Gampe Sebastian's avatar Gampe Sebastian

update developers README

parent 8910c5a6
......@@ -9,6 +9,8 @@
#### Linux
###### Create Linux Binaries
check Python3 version
```
......@@ -55,6 +57,66 @@ verify signature
gpg2 --verify ElectrumFair-*.tar.gz.asc
```
###### Create Linux AppImage
install docker
```
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce
```
build image
```
sudo docker build --no-cache -t electrum-appimage-builder-img contrib/build-linux/appimage
```
build binary
```
sudo docker run -it \
--name electrum-appimage-builder-cont \
-v $PWD:/opt/electrumfair \
--rm \
--workdir /opt/electrumfair/contrib/build-linux/appimage \
electrum-appimage-builder-img \
./build.sh $(python3 -c "import electrum.version; print(electrum.version.ELECTRUMFAIR_VERSION)")
```
The generated binary is in `./dist`.
sign binaries
```
gpg2 --detach-sign --local-user tonyford -a ElectrumFair-*.AppImage
```
( without ```--local-user username``` the default key of your local machine will used )
verify signature
```
gpg2 --verify ElectrumFair-*.AppImage.asc
```
**get directory of packages**
```
dpkg -L <package_name>
```
**list all docker images**
```
sudo docker images
```
**access to docker image**
```
docker run -i -t --rm electrum-appimage-builder-cont /bin/bash
```
#### Android
Detailed instructions :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment