<commit_before>[![Build Status](https://travis-ci.org/BankingBoys/amos-ss17-proj7.svg?branch=master)](https://travis-ci.org/BankingBoys/amos-ss17-proj7)

# amos-ss17-proj7
Virtual Ledger

## Install workspace for eclipse

Open terminal in the rootproject and type

	gradle eclipse

Go to eclipse

1. import
2. existing projects into workspace
3. select root-directory of this project as root directory
4. select "Search for nested projects"
5. select all projects
6. click "Finish"

## Use Jetty-Server

Open Terminal in server-workspace.

Run the command

	gradle jettyRunWar

you build the server-war-file and run it on an embedded jetty server. Changes on the Java-files automatically triggers the server reload (typically < 1 sec).

If you only want to run the server (no war-file build) use:
<commit_msg>- updated README.md for setting the environment variable<commit_after>[![Build Status](https://travis-ci.org/BankingBoys/amos-ss17-proj7.svg?branch=master)](https://travis-ci.org/BankingBoys/amos-ss17-proj7)

# amos-ss17-proj7
Virtual Ledger

# Installation general

You need an environment variable called VIRTUAL_LEDGER_DB_PASSWORD that contains the password for the database.
Restarting the computer/server may be required after setting it!


## Install workspace for eclipse

Open terminal in the rootproject and type

	gradle eclipse

Go to eclipse

1. import
2. existing projects into workspace
3. select root-directory of this project as root directory
4. select "Search for nested projects"
5. select all projects
6. click "Finish"

## Use Jetty-Server

Open Terminal in server-workspace.

Run the command

	gradle jettyRunWar

you build the server-war-file and run it on an embedded jetty server. Changes on the Java-files automatically triggers the server reload (typically < 1 sec).

If you only want to run the server (no war-file build) use:

{'fraction_non_alphanumeric': 0.0740343347639485, 'fraction_numerical': 0.017167381974248927, 'mean_word_length': 4.469208211143695, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1384554', 'n_tokens_mistral': 579, 'n_tokens_neox': 537, 'n_words': 226}