Set up and Deploy
Install Go:
Download and install Go version 1.20.
Configure your GOPATH:
Guide to configuring GOPATH
For macOS:
export PATH=$GOPATH/bin:$PATH export GOPATH=/Users/$USER/goFor Linux:
export PATH=$PATH:/usr/local/go/bin
Install NodeJS & pnpm:
Install them via npm. However, it's beneficial to use nvm (Node Version Manager) for switching between NodeJS versions for different projects.
For example, if
$NODE_VERSIONis set to a valid version of NodeJS:nvm install $NODE_VERSION && nvm use $NODE_VERSION
Install PostgreSQL:
Ensure the version is >= 11.x and < 15.x.
It's crucial to configure Postgres to use an SSL connection. For testing purposes, you can append
?sslmode=disableto your Postgres query string.Ensure port 5432 is open.
Install Python3.
Install Git.
Clone the Repository:
git clone https://github.com/BondNetwork/bondoracle && cd bondoracleGenerate Bondoracle:
Execute the following command:
make installThis will produce a
bondoracleexecutable file.
Check Compilation:
To verify that
bondoraclecompiled successfully, execute:bondoracle help
Last updated