<commit_before># Managed Application Runtime - Spring Boot Application Example 

This is an example Spring Boot application for Qt Cloud Services - Managed Application Runtime ("**MAR**"). More information about [Spring Boot](http://projects.spring.io/spring-boot/).

## Getting Started

See the Managed Application Runtime getting started documentation at Qt Cloud Services [Developer Documentation ](https://developer.qtcloudservices.com/mar/getting-started)

## Details About This Example

### Procfile

Upon deployed and launched in Cloud Qt Cloud Services the MAR container provides an environmental variable **$PORT** for which the HTTPS requests hitting Qt Cloud Services load balancer SSL port are internally forwarded into.

## Running and Testing Application Locally

You can start this application from the application root directory with the same following command as declared in the **Procfile** once the project has been built with Maven:


### *nix
```
mvn clean install
java $JAVA_OPTS -Dserver.port=$PORT -jar target/*.jar
```

You may replace the **$PORT** environmental variable with the chosen port number that your local shell process is privileged to run. If the **$PORT** variable is omitted, the HTTP server defaults the port 8080.

### Windows
```
mvn clean install
java -Dserver.port=8080 -jar target\mar-sample-spring-boot-0.0.1-SNAPSHOT.jar
```
<commit_msg>fixed the README regarding running the sample locally on Windows<commit_after># Managed Application Runtime - Spring Boot Application Example 

This is an example Spring Boot application for Qt Cloud Services - Managed Application Runtime ("**MAR**"). More information about [Spring Boot](http://projects.spring.io/spring-boot/).

## Getting Started

See the Managed Application Runtime getting started documentation at Qt Cloud Services [Developer Documentation ](https://developer.qtcloudservices.com/mar/getting-started)

## Details About This Example

### Procfile

Upon deployment Qt Cloud Services the MAR container provides an environmental variable **$PORT** for which the HTTPS requests hitting Qt Cloud Services load balancer SSL port are internally forwarded into.

## Running and Testing Application Locally

You can start this application from the application root directory with the same following command as declared in the **Procfile** once the project has been built with Maven:


### *nix
```
mvn clean install
java $JAVA_OPTS -Dserver.port=$PORT -jar target/*.jar
```

You may replace the **$PORT** environmental variable with the chosen port number that your local shell process is privileged to run. If the **$PORT** variable is omitted, the HTTP server defaults the port 8080.

### Windows
```
mvn clean install
java -Dserver.port=8080 -jar target\mar-sample-spring-boot-0.0.1-SNAPSHOT.jar
```

{'fraction_non_alphanumeric': 0.08139950017850768, 'fraction_numerical': 0.00785433773652267, 'mean_word_length': 4.987179487179487, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3559083', 'n_tokens_mistral': 723, 'n_tokens_neox': 670, 'n_words': 341}