-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Atanas Atanasov <[email protected]>
- Loading branch information
Showing
4 changed files
with
93 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Quickstart of the Simulator | ||
|
||
## Table of Contents | ||
|
||
1. [Configuration](#configuration) | ||
1. [Running locally](#running-locally) | ||
1. [Build the Simulator](#build-the-simulator) | ||
1. [Run the Server first](#run-the-server-first) | ||
1. [Run the Simulator](#run-the-simulator) | ||
1. [Run the Simulator with Debug](#run-the-simulator-with-debug) | ||
|
||
## Configuration | ||
|
||
Refer to the [Configuration](configuration.md) for configuration options. | ||
|
||
## Running locally: | ||
|
||
- Simulator subproject qualifier:`:simulator` | ||
- Assuming your working directory is the repo root | ||
|
||
> **NOTE:** using the `-p` flag for `./gradlew` so not to specify the target subproject | ||
> on each task when running multiple tasks, but using the qualifier `:simulator:` when | ||
> we have only one task to run. | ||
### Build the Simulator | ||
|
||
> **NOTE:** if you have not done so already, it is | ||
> generally recommended to build the entire repo first: | ||
> ```bash | ||
> ./gradlew clean build -x test | ||
> ``` | ||
1. To quickly build the Simulator sources (without running tests), do the following: | ||
```bash | ||
./gradlew -p simulator clean build -x test | ||
``` | ||
### Run the Server first | ||
Usually, you would want to run the [Server](../../server/README.md) first, refer to the | ||
[Quickstart of the Server](../../server/docs/quickstart.md) for a quick guide on how to | ||
get started with the application. | ||
### Run the Simulator | ||
1. To start the Simulator, do the following: | ||
```bash | ||
./gradlew :simulator:run | ||
``` | ||
### Run the Simulator with Debug | ||
1. To start the Simulator with debug enabled, do the following: | ||
```bash | ||
./gradlew :simulator:run --debug-jvm | ||
``` | ||
1. Attach your remote jvm debugger to port 5005. |