Commit 8c48547b authored by TonyFord's avatar TonyFord
Browse files

add setenv.sh for manual server actions

link downloads to github release table
parent c8bf7448
Pipeline #8910 passed with stage
in 21 seconds
...@@ -16,6 +16,7 @@ build-jekyll: ...@@ -16,6 +16,7 @@ build-jekyll:
before_script: before_script:
- export RUNNER_UID=`id -u` - export RUNNER_UID=`id -u`
- export RUNNER_GID=`id -g` - export RUNNER_GID=`id -g`
- chmod +x ./setenv.sh
script: script:
- docker-compose down - docker-compose down
- docker-compose build - docker-compose build
......
...@@ -37,12 +37,5 @@ If you want create an instance manual then follow the instructions. ...@@ -37,12 +37,5 @@ If you want create an instance manual then follow the instructions.
1. install docker and docker-compose ( https://docs.docker.com/compose/install/ ) 1. install docker and docker-compose ( https://docs.docker.com/compose/install/ )
1. clone this project 1. clone this project
1. change configuration in ./env 1. change configuration in ./env
1. run services by ./control.sh 1. run `. ./setenv.sh` to set env vars in your session
1. now you can use `docker-compose` to up/down/start/stop/build service or check the logs
~~~
chmod +x ./control.sh
./control.sh build
./control.sh start
./control.sh stop
./control.sh uninstall
~~~
#!/bin/bash
export RUNNER_UID=`id -u`
export RUNNER_GID=`id -g`
export `cat ./env/*`
case $1 in
"build")
docker-compose down
docker-compose build
;;
"start")
docker-compose stop
docker-compose up -d
;;
"stop")
docker-compose stop
;;
"uninstall")
docker-compose stop
docker-compose down
;;
esac
...@@ -73,94 +73,17 @@ a { ...@@ -73,94 +73,17 @@ a {
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col"> <div class="col binaries text-center">
<h3>Sources and Binaries</h3> Download binaries from github source repository.<br>Latest Release is 3.3.4 <br>
</div> <a href="https://github.com/faircoin/electrumfair/releases">https://github.com/faircoin/electrumfair/releases</a><br>
</div> <p></p>
<div class="row"> <img src="/assets/images/github.png">
<div class="col"> <img src="/assets/images/tar-gz.png">
<table class="table table-bordered binaries"> <img src="/assets/images/os_linux.gif">
<img src="/assets/images/os_windows.gif">
<tr> <img src="/assets/images/os_apple.png">
<td><img src="/assets/images/github.png"> GitHub</td> <img src="/assets/images/android_icon.png">
<td><a href="https://github.com/criptomart/electrumfair">Sources</a><br><a href="https://github.com/criptomart/electrumfair/blob/3.3.4-fc/CHECKSUM.md">summary of sha256sum</a> ( checksum double check )</td>
</tr>
{% for app in site.data.downloads %}
{% for ap in app %}
<tr>
{% if forloop.index == 1 %}
<td rowspan="{{ app | size }}"><img src="{{ ap.img }}"> {{ ap.title }}</td>
{% endif %}
<td><a href="{{ ap.url }}">{{ ap.name }}</a> - <a href="{{ ap.url }}.asc">(signature)</a><br>
<a href="http://onlinemd5.com/">sha256sum</a>: <a href="{{ ap.sha256sum-url }}"><font class="sha256sum">{{ ap.sha256sum }}</font></a></td>
</tr>
{% endfor %}
{% endfor %}
</table>
</div>
</div>
<div class="row">
<div class="col">
<h3>Installation from Python sources</h3>
</div>
</div>
<div class="row">
<div class="col">
<table class="table table-bordered binaries">
<tr>
<td rowspan="5"><img src="/assets/images/os_linux.gif"> Linux</td>
<td>Install dependencies</td>
<td><code>sudo apt-get install python3-pyqt5</code></td>
</tr>
<tr>
<td>Download package</td>
<td><code>wget https://<?= $_SERVER['SERVER_NAME'] ?>/download/ElectrumFair-3.3.4.tar.gz</code></td>
</tr>
<tr>
<td>Verify signature</td>
<td><code>wget https://<?= $_SERVER['SERVER_NAME'] ?>/download/ElectrumFair-3.3.4.tar.gz.asc<br>
gpg2 --verify Electrum-3.3.4.tar.gz.asc</code></td>
</tr>
<tr>
<td>Run without installing</td>
<td><code>tar -xvf ElectrumFair-3.3.4.tar.gz<br>
python3 Electrum-3.3.4/run_electrumfair</code></td>
</tr>
<tr>
<td>Install with PIP</td>
<td><code>sudo apt-get install python3-setuptools python3-pip<br>
python3 -m pip install --user ElectrumFair-3.3.4.tar.gz[fast]</code></td>
</tr>
<tr>
<td><img src="/assets/images/os_windows.gif"> Windows <sup>(7 and higher)</sup></td>
<td colspan="2">Install <a href="http://www.riverbankcomputing.co.uk/software/pyqt/download5" target="external">PyQt5</a><br>
Extract <a href="ElectrumFair-3.3.4.zip">ElectrumFair-3.3.4.zip</a><br>
In the electrum directory, run <code>python3 run_electrumfair</code></td>
</tr>
<tr>
<td><img src="/assets/images/os_apple.png"> OSX</td>
<td colspan="2">Install <a href="https://github.com/mxcl/homebrew">Homebrew</a><br>
Install dependencies <code>brew install qt5 pyqt5 gettext</code><br>
Extract <a href="ElectrumFair-3.3.4.zip">ElectrumFair-3.3.4.zip</a> <br>
In the electrum directory, run <code>python3 run_electrumfair</code></td>
</tr>
</table>
</div> </div>
</div> </div>
<hr> <hr>
</div> </div>
<div class="container">
<div class="row">
<div class="col-md-12 text-center alert alert-info footer">
<p>All wallet downloads are signed with the PGP-key <a href="http://keys.gnupg.net/pks/lookup?search=0x2285860F&fingerprint=on&op=index">0x2285860F</a>, finger print: 5D93 EACA A68D F7FD A39D 4622 F7F4 561F 2285 860F</p>
<p>If you need help then join our <a href="https://t.me/joinchat/BPPPUVXXo2bC-tGI1lolMw">telegram group</a></p>
<p>Developers can find a helpful guide <a href="https://git.fairkom.net/FairCoin/faircoin-freevision/tree/master/download/README.md">here</a> !</p>
</div>
</div>
</div>
#!/bin/bash
IFS='/' read -ra arr <<< `dirname "$(readlink -f "$0")"`
export CI_PROJECT_NAME=${arr[-1]}
export RUNNER_UID=`id -u`
export RUNNER_GID=`id -g`
export `cat ./env/*`
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