blob: dc7752b21dfc69b93ba5d57663806be0d6ad92e0 (
plain) (
blame)
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
|
<!--
## Installing with Homebrew
By far the easiest way to install wiki is to use our
Homebrew tap. If you don't have Homebrew, [install it first](http://brew.sh).
Then run the following commands to add the tap and install `gdex`:
```shell
brew tap dexon-foundation/dexon
brew install dexon
```
You can install the develop branch by running `--devel`:
```shell
brew install dexon --devel
```
After installing, run `gdex account new` to create an account on your node.
You should now be able to run `gdex` and connect to the network.
Make sure to check the different options and commands with `gdex --help`
For options and patches, see: https://github.com/dexon-foundation/homebrew-dexon
-->
## Building from source
If you don't have Homebrew, [install it first](http://brew.sh).
### Building Gdex (command line client)
Clone the repository to a directory of your choosing:
```shell
git clone https://github.com/dexon-foundation/dexon
```
Building `gdex` requires the Go compiler:
```shell
brew install go
```
Install libraries required by `gdex`
```shell
brew pkg-config install gmp openssl
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
```
Finally, build the `gdex` program using the following command.
```shell
cd dexon
make gdex
```
If you see some errors related to header files of Mac OS system library, install XCode Command Line Tools, and try again.
```shell
xcode-select --install
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
```
You can now run `build/bin/gdex` to start your node.
|