<commit_before>#!/bin/bash

# stops sprout
# mks release
# restarts sprout

# USAGE ./bin/dev_restart_sprout.sh

docker stop sprout
docker rm sprout
./bin/mk_dev_release.sh

docker run -d --restart=always \
    --link mongo:mongo \
    -v $PWD/env/env.js:/usr/src/sprout/env.js:ro \
    -v $PWD/logs:/usr/src/sprout/logs \
    -e "ENV=$1" \
    -p 4200:4200 \
    --name sprout \
    spncrlkt/sprout:development.latest
<commit_msg>dev restart spprout script env var<commit_after>#!/bin/bash

# stops sprout
# mks release
# restarts sprout

# USAGE ./bin/dev_restart_sprout.sh

docker stop sprout
docker rm sprout
./bin/mk_dev_release.sh

docker run -d --restart=always \
    --link mongo:mongo \
    -v $PWD/env/env.js:/usr/src/sprout/env.js:ro \
    -v $PWD/logs:/usr/src/sprout/logs \
    -e "ENV=development" \
    -p 4200:4200 \
    --name sprout \
    spncrlkt/sprout:development.latest

{'fraction_non_alphanumeric': 0.1446188340807175, 'fraction_numerical': 0.01905829596412556, 'mean_word_length': 2.6598360655737703, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1747862', 'n_tokens_mistral': 392, 'n_tokens_neox': 364, 'n_words': 71}