Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreastedile/raft
A simulator of the Raft consensus algorithm in Akka typed comprising a GUI
https://github.com/andreastedile/raft
akka java javafx
Last synced: 16 days ago
JSON representation
A simulator of the Raft consensus algorithm in Akka typed comprising a GUI
- Host: GitHub
- URL: https://github.com/andreastedile/raft
- Owner: andreastedile
- Created: 2022-01-16T16:44:03.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-09T15:10:44.000Z (almost 3 years ago)
- Last Synced: 2024-11-14T01:27:01.082Z (3 months ago)
- Topics: akka, java, javafx
- Language: Java
- Homepage:
- Size: 153 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raft simulator
## Requirements
The following requirements must be met in order to run the project:
- JDK 17.0.1 (or later)
- Apache Maven 3.8.4 (or later)To install these dependencies, refer to your OS's package manager, if available. For Debian-like systems, download the jdk directly
```
wget https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.deb
```Then, install it with thee `dpkg` command.
```
sudo dpkg -i jdk-17_linux-x64_bin.deb
```Project dependencies (such as JavaFX) are managed by Maven, and will be pulled and installed once the project is imported and set up. At the moment, we do not provide an executable jar file.
To get started, obtain the source code from the GitHub repository:
```
git clone [email protected]:andreastedile/raft-simulator.git
```Then, move into the directory, and use Maven to start the project:
```
mvn javafx:run
```Maven stores all the information about the project in the `pom.xml` file, which is available in the project root. This includes the JavaFX plugin, which enables Maven to automatically link JavaFX libraries with the compiled Java code.
Once the aformentioned command is run, Maven will query the repository, pull the relevant dependencies, build the project, and finally open a pop-up Java window.