-
Notifications
You must be signed in to change notification settings - Fork 20
/
INSTALL
39 lines (23 loc) · 940 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Dependencies (Debian):
Download and install ZMQ 4.0+
Make sure Obelisk server has crypto disabled (gateway isn't using it yet).
Download latest pyzmq from: https://github.com/zeromq/pyzmq/downloads
$ tar xf pyzmq-2.2.0.1.tar.gz
$ cd pyzmq-2.2.0.1/
$ python setup.py build
You can install system wide as root, or alternatively set the PYTHONPATH
variable in your ~/.bashrc
/path/to/pyzmq-2.2.0.1/build/lib.linux-x86_64-2.7
Make sure that path actually exists as it may differ slightly
from system to system.
Get python-obelisk and set your PYTHONPATH accordingly:
https://github.com/darkwallet/python-obelisk
Install some final dependencies as root:
# apt-get install python-pip python-twisted
# pip install tornado pyelliptic ecdsa
$ cd daemon/txrad/
$ make
$ export PYTHONPATH="/path-to-gateway-repo/lib:$PYTHONPATH"
Setup the config.
$ cp config.json.example config.json
$ python daemon/gateway.py