<commit_before># test-errai4-tomcat

Test Errai 4 on Tomcat server

Prerequisites
-------------

 * JDK 8 (run `java -version` on the command line to check)
 * Maven 3 (run `mvn --version` on the command line to check) 

Fetch the code
--------------

```bash
git clone https://github.com/stbland/test-errai4-tomcat.git

cd test-errai4-tomcat
```
	
Run on Tomcat
-------------

```bash	
mvn -Ptomcat7 tomcat7:run-war
```

open http://localhost:8080/test-errai4-tomcat/ in your web brower

Run Super Dev Mode
------------------

## Start GWT Code Server

In a first terminal
	
```bash	
mvn -Pgwt-codeserver gwt:run-codeserver
```

## Start Tomcat server

In a second terminal

```bash	
mvn -Pgwt-codeserver -Pgwt-no-precompile -Ptomcat7 package tomcat7:run-war
```

open http://localhost:8080/ in your web brower<commit_msg>Update documentation<commit_after># test-errai4-tomcat

Test Errai 4 on Tomcat server

## Prerequisites

 * JDK 8 (run `java -version` on the command line to check)
 * Maven 3 (run `mvn --version` on the command line to check) 

## Fetch the code

```bash
git clone https://github.com/stbland/test-errai4-tomcat.git

cd test-errai4-tomcat
```
	
## Run on Tomcat

```bash	
mvn -Ptomcat7 tomcat7:run-war
```

open http://localhost:8080/test-errai4-tomcat/ in your web brower

## Run Super Dev Mode

### Start GWT Code Server

In a first terminal
	
```bash	
mvn -Pgwt-codeserver gwt:run-codeserver
```

### Start Tomcat server

In a second terminal

```bash	
mvn -Pgwt-codeserver -Pgwt-no-precompile -Ptomcat7 package tomcat7:run-war
```

open http://localhost:8080/ in your web brower
{'fraction_non_alphanumeric': 0.14953271028037382, 'fraction_numerical': 0.02367601246105919, 'mean_word_length': 3.2041884816753927, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5463395', 'n_tokens_mistral': 629, 'n_tokens_neox': 570, 'n_words': 178}