Bifrost Development Setup
Bifrost officially supports development on Ubuntu. Other operating systems may still work, but the Topl team may be unable to support certain questions.
Installation
A convenience script is provided which will run the following steps automatically. We highly recommend reading the contents of the script before running it. The convenience script can be run by typing
source ./docs/scripts/dev_setup.sh
from the command line (from the repository root). Otherwise, the directions below will suffice.
Docker, Java, and SBT
- Install Docker.
- Be sure to follow the Linux post-installation steps, namely run
sudo usermod -aG docker $USER
- Be sure to follow the Linux post-installation steps, namely run
- Install Java and SBT using SDKMAN.
- Prerequisite: Install zip and unzip
sudo apt install zip unzip
- Run
curl -s "https://get.sdkman.io" | bash
- Run
source "$HOME/.sdkman/bin/sdkman-init.sh"
- Run
sdk install java 11.0.17-tem
- Run
sdk install sbt 1.7.3
- Prerequisite: Install zip and unzip
Bifrost
- Clone https://github.com/Topl/Bifrost and checkout branch
dev
. - Run
sbt compile
from the command line.