cornerstone

(β˜… 271)

C++ implementation of raft consensus

  • .clang-format
  • .gitignore
  • .gitmodules
  • asio
  • CMakeLists.txt
  • LICENSE
  • LICENSE_1_0.txt
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/datatechnology/cornerstone

Downloads the entire project code from GitHub to your computer.

cd cornerstone

Moves into the project folder you just downloaded.

2. CMake

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • CMake The tool used to generate build configuration.
  • C/C++ 컴파일러 Windows needs Visual Studio (Community edition, free), macOS needs Xcode Command Line Tools, Linux needs the gcc/g++ package.
cmake ..

Analyzes the source code and generates build configuration files (must be run inside the build folder).

cmake --build .

Type this command into your terminal and run it.

βœ… Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).

Pulled directly from this repo's README.

3. .NET

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • .NET SDK The SDK required for the dotnet command.
cd msvc

This project's files live in a subfolder, so move into it first.

dotnet restore

Downloads the packages the project depends on.

dotnet run

Builds the project and runs it immediately.

βœ… After dotnet run, check the message or address shown in the terminal.
// repository documentation