Skip to content

Commit 7916aa0

Browse files
committed
2 parents 80636b9 + b095f29 commit 7916aa0

1 file changed

Lines changed: 20 additions & 36 deletions

File tree

README.md

Lines changed: 20 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
**PLEASE NOTE:** MASTER branch now is for stable pre-release updates. We have developed a RELEASE branch for latest OFFICIAL Releases. Please use the following clone command to retrieve the latest release version
22

33
```
4-
git clone -b release --single-branch https://github.com/DigitalNoteXDN/DigitalNote-2 DigitalNote
4+
git clone --single-branch https://github.com/IamLupo/DigitalNote-2.git DigitalNote
55
```
66

77
DigitalNote [XDN] 2014-2018 (CryptoNote Base), 2018-2020 (Current) integration/staging tree
@@ -113,6 +113,7 @@ sudo apt-get install -y qt5-default
113113
sudo apt-get install -y qttools5-dev-tools
114114
sudo apt-get install -y miniupnpc
115115
sudo apt-get install -y qt5-qmake
116+
sudo apt-get install -y libevent-dev
116117
```
117118

118119
### Dependencies build and link
@@ -132,23 +133,24 @@ export BDB_LIB_PATH="/usr/local/BerkeleyDB.6.2/lib"
132133

133134
### GitHub pull (Source Download)
134135
```
135-
cd ~
136-
git clone https://github.com/DigitalNoteXDN/DigitalNote-2 DigitalNote
136+
git clone --single-branch https://github.com/IamLupo/DigitalNote-2.git DigitalNote
137+
cd DigitalNote
137138
```
138139

139140
### Build DigitalNote daemon
141+
142+
With UPNP:
140143
```
141-
cd ~
142-
cd ~/DigitalNote/src
143-
chmod a+x obj
144-
chmod a+x leveldb/build_detect_platform
145-
chmod a+x secp256k1
146-
chmod a+x leveldb
147-
chmod a+x ~/DigitalNote/src
148-
chmod a+x ~/DigitalNote
149-
make -f makefile.unix USE_UPNP=-
150-
cd ~
151-
sudo cp -r ~/DigitalNote/src/DigitalNoted /usr/local/bin/DigitalNoted
144+
qmake -qt=qt5 DigitalNote.daemon.pro USE_FORCE_STD_17=1
145+
make -j 4
146+
sudo cp -r DigitalNoted /usr/local/bin/DigitalNoted
147+
```
148+
149+
**Recommended Without** UPNP:
150+
```
151+
qmake -qt=qt5 DigitalNote.daemon.pro USE_FORCE_STD_17=1 USE_UPNP=-
152+
make -j 4
153+
sudo cp -r DigitalNoted /usr/local/bin/DigitalNoted
152154
```
153155

154156
### (Optional) Build DigitalNote-QT (GUI wallet) on Linux
@@ -162,23 +164,18 @@ export BDB_LIB_PATH="/usr/local/BerkeleyDB.6.2/lib"
162164
```
163165

164166
With UPNP:
165-
166167
```
167-
cd ~/DigitalNote
168-
qmake -qt=qt5
169-
make
168+
qmake -qt=qt5 DigitalNote.app.pro USE_FORCE_STD_17=1 USE_UPNP=- USE_DBUS=1 USE_QRCODE=1
169+
make -j 4
170170
```
171171

172172
**Recommended Without** UPNP:
173-
174173
```
175-
cd ~/DigitalNote
176-
qmake -qt=qt5 USE_UPNP=-
177-
make
174+
qmake -qt=qt5 DigitalNote.app.pro USE_FORCE_STD_17=1 USE_UPNP=- USE_DBUS=1 USE_QRCODE=1
175+
make -j 4
178176
```
179177

180178

181-
182179
### Create config file for daemon
183180
```
184181
sudo ufw allow 18092/tcp
@@ -211,19 +208,6 @@ DigitalNoted
211208
DigitalNoted getinfo
212209
```
213210

214-
### Troubleshooting
215-
### for basic troubleshooting run the following commands when compiling:
216-
### this is for minupnpc errors compiling
217-
218-
```
219-
make clean -f makefile.unix USE_UPNP=-
220-
make -f makefile.unix USE_UPNP=-
221-
```
222-
### Updating daemon in bin directory
223-
```
224-
cd ~; cp -r ~/DigitalNote/src/DigitalNoted /usr/local/bin
225-
```
226-
227211
License
228212
-------
229213

0 commit comments

Comments
 (0)