Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.56 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.56 KB

Simply Block

Docker Image Build

Python Unit Testing

Install

Add the package repo from AWS CodeArtifact using awscli

aws codeartifact login --tool pip --repository sbcli --domain simplyblock --domain-owner 565979732541 --region eu-west-1

Install package

pip install --extra-index-url https://pypi.org/simple sbcli-dev

Components

Simply Block Core

Contains core logic and controllers for the simplyblock cluster

Simply Block CLI

Please see this document README.md

Simply Block Web API

Please see this document README.md

local development

FoundationDB requires a client library (libfdb_c.dylib) for the Python bindings to interact with the database. Depending on the OS architecture, please install the appropriate version from the official github repo

wget https://github.com/apple/foundationdb/releases/download/7.3.3/FoundationDB-7.3.3_arm64.pkg

setup the code on a management node and the webApp code can be developed by building the docker-compose-dev.yml file.

sudo docker compose -f docker-compose-dev.yml up --build -d