forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathBuildBiblePayDevelop.txt
More file actions
87 lines (52 loc) · 2.88 KB
/
Copy pathBuildBiblePayDevelop.txt
File metadata and controls
87 lines (52 loc) · 2.88 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
How To Build the BiblePay DEVELOP BRANCH - Ubuntu May 21st, 2021
_________________________________________________
#Note: If you have less then 3gb of ram, please see our instructions "BuildBiblePay.txt" and we recommend that you set up Swap Space first, otherwise your system will page with low ram.
#Building for Ubuntu 20, 18, and 17 on Linux:
Step 1: Install the Ubuntu dependencies:
#apt-get install libssl-dev libevent-dev
#apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev
apt-get install git curl build-essential libtool autotools-dev automake pkg-config python3 bsdmainutils cmake
STEP 3: Create the root Application Directory for Biblepay develop:
cd /
mkdir /biblepay-develop
cd biblepay-develop
STEP 4: GIT CLONE: (This sets up the github repository in this location):
git clone --branch develop https://github.com/biblepay/biblepay
STEP 5: Compile RANDOMX:
cd /biblepay-develop/biblepay/src/crypto/RandomX
mkdir build && cd build
cmake -DARCH=native ..
make
# end of RandomX Part
STEP 6: SET UP THE MACHINE PREFIX: (In this case we are using 64 bit ubuntu): (We also have one for mac and one for windows).
cd /biblepay-develop/biblepay/depends
make -j 4 # Choose a good -j value, depending on the number of CPU cores available
cd ..
./autogen.sh
#Note: if echo `pwd` does not return your current working directory, replace it with your working directory such as ~/biblepay-develop/biblepay
./configure --prefix `pwd`/depends/x86_64-pc-linux-gnu
make -j 4
#If you have trouble compiling, see more here:
https://github.com/biblepay/biblepay/blob/master/doc/build-unix.md
***************** WHERE ARE THE COMPILED FILES? *********************************
To run QT, do this:
cd /biblepay-develop/biblepay/src/qt
./biblepay-qt -testnet=1
To run the biblepay daemon go here:
cd /biblepay-develop/biblepay/src
./biblepayd -testnet=1
To run the biblepay command line client go here:
cd /biblepay-develop/biblepay/src
./biblepay-cli getinfo
### Good luck, and God Bless you! ###
*************************************************** OPTIONAL - UPGRADING ONLY *********************************************************************************
How do I upgrade Biblepay after the devs push a leisure Upgrade notification on the forum?
#NOTE: DO NOT DO THIS IF YOU ARE BUILDING THE FIRST TIME, THIS IS ONLY NECESSARY AFTER WE NOTIFY EVERYONE FOR AN UPGRADE:
cd ~/biblepay-develop
git pull origin develop
cd src
make -j 4
*** NOTE: Watchman-on-the-wall is no longer required in BiblePay (as it is compiled as a part of our wallet now) **** (Hurray, that would have been more work!)
*** TROUBLESHOOTING ****
## Reserved for Future Use