## 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 install gmp openssl pkg-config 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. Installing docker if you want to run image: brew cask install docker Remember to execute `docker` (there should be a whale in the top status bar which indicates that Docker is running).