<commit_before>#!/usr/bin/env bash

# Move into proper directory.
cd "$( dirname "${BASH_SOURCE[0]}" )"
cd ..

echo "Checking for database updates"
./bin/console propel:migration:diff
./bin/console propel:migration:migrate

echo ""
echo "Clearing caches"
./bin/console cache:clear --no-warmup --env=prod

echo ""
echo "Launching eXpansion"
./bin/console eXpansion:run --env=prod > /dev/null 2>&1 &
<commit_msg>Fix run script in linux not using prod parameters<commit_after>#!/usr/bin/env bash

# Move into proper directory.
cd "$( dirname "${BASH_SOURCE[0]}" )"
cd ..

echo "Checking for database updates"
./bin/console propel:migration:diff --env=prod
./bin/console propel:migration:migrate --env=prod

echo ""
echo "Clearing caches"
./bin/console cache:clear --no-warmup --env=prod

echo ""
echo "Launching eXpansion"
./bin/console eXpansion:run --env=prod > /dev/null 2>&1 &

{'fraction_non_alphanumeric': 0.15945330296127563, 'fraction_numerical': 0.00683371298405467, 'mean_word_length': 4.327272727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6756791', 'n_tokens_mistral': 322, 'n_tokens_neox': 308, 'n_words': 82}