-
Install XCode and its command line tools by following the instructions here: https://guide.macports.org/#installing.xcode
-
Install Homebrew by following the instructions here: http://brew.sh/
-
Initialize Homebrew:
brew doctor brew update
-
Install dependencies:
brew install boost cmake git openssl readline brew link --force openssl readline
-
Optional. To support importing Bitcoin wallet files:
brew install berkeley-db
-
Optional. To use TCMalloc in LevelDB:
brew install google-perftools
-
Clone the BitShares repository:
git clone [email protected]:BitShares/bitshares.git cd bitshares
-
Build BitShares:
git submodule update --init cmake . make
-
Optional. Install dependencies for the GUI:
brew install node qt5
-
Optional. Build the GUI:
cd programs/web_wallet
npm install .
cd ../..
export CMAKE_PREFIX_PATH=/usr/local/opt/qt5/
cmake -DINCLUDE_QT_WALLET=1 .
make buildweb
make
Note: By default, the web wallet will not be rebuilt even after pulling new changes. To force the web wallet to rebuild, use make forcebuildweb
.
- Optional. Create GUI installation package:
make package