cornerstone
C++ implementation of raft consensus
File Explorer
Download Latest Version (.zip)- ccpp.yml
- cornerstone-config.cmake.in
- asio_service.hxx
- async.hxx
- basic_types.hxx
- buffer.hxx
- cluster_config.hxx
- context.hxx
- cornerstone.hxx
- delayed_task.hxx
- delayed_task_scheduler.hxx
- events.hxx
- fs_log_store.hxx
- log_entry.hxx
- log_store.hxx
- log_val_type.hxx
- logger.hxx
- msg_base.hxx
- msg_type.hxx
- peer.hxx
- pp_util.hxx
- ptr.hxx
- raft_params.hxx
- raft_server.hxx
- req_msg.hxx
- resp_msg.hxx
- rpc_cli.hxx
- rpc_cli_factory.hxx
- rpc_exception.hxx
- rpc_listener.hxx
- snapshot.hxx
- snapshot_sync_ctx.hxx
- snapshot_sync_req.hxx
- srv_config.hxx
- srv_role.hxx
- srv_state.hxx
- state_machine.hxx
- state_mgr.hxx
- strfmt.hxx
- timer_task.hxx
- cornerstone.sln
- cornerstone.vcxproj
- cornerstone.vcxproj.filters
- asio_service.cxx
- buffer.cxx
- cluster_config.cxx
- fs_log_store.cxx
- peer.cxx
- raft_server.cxx
- raft_server_req_handlers.cxx
- raft_server_resp_handlers.cxx
- snapshot.cxx
- snapshot_sync_req.cxx
- srv_config.cxx
- test_async_result.cxx
- test_buffer.cxx
- test_everything_together.cxx
- test_impls.cxx
- test_log_store.cxx
- test_logger.cxx
- test_ptr.cxx
- test_runner.cxx
- test_scheduler.cxx
- test_serialization.cxx
- test_strfmt.cxx
- .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 RecommendedPrerequisites
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
MediumPrerequisites
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
Was this content helpful?
(0 ratings)
