<commit_before># TrackFind

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/c3f38d6ea0184dab99bf012a04892c4c)](https://www.codacy.com/app/dtitov/trackfind?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=elixir-no-nels/trackfind&amp;utm_campaign=Badge_Grade)
[![Build Status](https://travis-ci.org/elixir-no-nels/trackfind.svg?branch=master)](https://travis-ci.org/elixir-no-nels/trackfind)
[![Docker Pulls](https://img.shields.io/docker/pulls/dtitov/trackfind.svg)](https://hub.docker.com/r/dtitov/trackfind/)

## Deployment
### Docker
```bash
docker run -d \
  -it \
  -v /path/to/indices/directory:/indices \
  -p 8888:8888 \
  --name trackfind \
  dtitov/trackfind:1.0.0
```
*Note: specifying volume to mount is optional.*

Logs are available at `docker logs -f trackfind`

Next you can stop container using command `docker stop trackfind`, start container using command `docker start trackfind` and update container using next sequence:
```bash
docker stop trackfind && \
docker rm trackfind && \
docker rmi dtitov/trackfind:1.0.0 && \
```
...and the first step.

### Singularity
```bash
singularity create trackfind.img && \
singularity import trackfind.img docker://dtitov/trackfind:1.0.0 && \
nohup singularity run trackfind.img &
```
Logs are available at `tail -f console.log`

App can be stopped by executing `kill -9 $!` as `$!` is the PID of the last launched process (alternatively you can find it using `ps auxw | grep trackfind`.

### Java
```bash
wget https://github.com/elixir-no-nels/trackfind/releases/download/1.0.0/trackfind-1.0.0.jar && \
nohup java -jar trackfind-1.0.0.jar &
```
Logs are available at `tail -f console.log`

App can be stopped by executing `kill -9 $!` as `$!` is the PID of the last launched process (alternatively you can find it using `ps auxw | grep trackfind`.

### Sources
#### Checkout via Git
```bash
git clone https://github.com/elixir-no-nels/trackfind.git && \
cd trackfind && \
nohup mvn spring-boot:run &
```
#### Download as tar.gz
```bash
wget https://github.com/elixir-no-nels/trackfind/archive/1.0.0.tar.gz && \
tar -zxvf 1.0.0.tar.gz && \
cd trackfind-1.0.0 && \
nohup mvn spring-boot:run &
```

App can be stopped by executing `kill -9 $!` as `$!` is the PID of the last launched process (alternatively you can find it using `ps auxw | grep trackfind`.<commit_msg>Add 'Acknowledgments' section to readme.<commit_after># TrackFind

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/c3f38d6ea0184dab99bf012a04892c4c)](https://www.codacy.com/app/dtitov/trackfind?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=elixir-no-nels/trackfind&amp;utm_campaign=Badge_Grade)
[![Build Status](https://travis-ci.org/elixir-no-nels/trackfind.svg?branch=master)](https://travis-ci.org/elixir-no-nels/trackfind)
[![Docker Pulls](https://img.shields.io/docker/pulls/dtitov/trackfind.svg)](https://hub.docker.com/r/dtitov/trackfind/)

## Deployment
### Docker
```bash
docker run -d \
  -it \
  -v /path/to/indices/directory:/indices \
  -p 8888:8888 \
  --name trackfind \
  dtitov/trackfind:1.0.0
```
*Note: specifying volume to mount is optional.*

Logs are available at `docker logs -f trackfind`

Next you can stop container using command `docker stop trackfind`, start container using command `docker start trackfind` and update container using next sequence:
```bash
docker stop trackfind && \
docker rm trackfind && \
docker rmi dtitov/trackfind:1.0.0 && \
```
...and the first step.

### Singularity
```bash
singularity create trackfind.img && \
singularity import trackfind.img docker://dtitov/trackfind:1.0.0 && \
nohup singularity run trackfind.img &
```
Logs are available at `tail -f console.log`

App can be stopped by executing `kill -9 $!` as `$!` is the PID of the last launched process (alternatively you can find it using `ps auxw | grep trackfind`.

### Java
```bash
wget https://github.com/elixir-no-nels/trackfind/releases/download/1.0.0/trackfind-1.0.0.jar && \
nohup java -jar trackfind-1.0.0.jar &
```
Logs are available at `tail -f console.log`

App can be stopped by executing `kill -9 $!` as `$!` is the PID of the last launched process (alternatively you can find it using `ps auxw | grep trackfind`.

### Sources
#### Checkout via Git
```bash
git clone https://github.com/elixir-no-nels/trackfind.git && \
cd trackfind && \
nohup mvn spring-boot:run &
```
#### Download as tar.gz
```bash
wget https://github.com/elixir-no-nels/trackfind/archive/1.0.0.tar.gz && \
tar -zxvf 1.0.0.tar.gz && \
cd trackfind-1.0.0 && \
nohup mvn spring-boot:run &
```

App can be stopped by executing `kill -9 $!` as `$!` is the PID of the last launched process (alternatively you can find it using `ps auxw | grep trackfind`.

# Acknowledgments

[![jProfiler](https://www.ej-technologies.com/images/product_banners/jprofiler_large.png)](https://www.ej-technologies.com/products/jprofiler/overview.html)
{'fraction_non_alphanumeric': 0.1536107711138311, 'fraction_numerical': 0.023255813953488372, 'mean_word_length': 4.243850267379679, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 20, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3327037', 'n_tokens_mistral': 1871, 'n_tokens_neox': 1747, 'n_words': 439}