<commit_before>#!/usr/bin/env bash
#
# WPLib Box Provision Script
#

#
# Install the Box CLI for use inside the Guest, e.g. after `vagrant ssh`
#
echo "Installing Box CLI... (try: 'vagrant ssh' then 'box help')"
git clone https://github.com/wplib/box-cli.git /vagrant/scripts/guest/cli  2>/dev/null
cd /vagrant/scripts/guest/cli
./install-box-cli --quiet

#
#  Disassociate the cloned Git repo and initialize a new repo.
#
echo "Disassociating WPLib Box Git repo..."
box disassociate-git-repo --quiet

#
#  Enable Object Caching
#
echo "Enabling Redis-based Object Caching... (IF WordPress is installed)"
box enable-object-caching --force --quiet

#
#  Ignoring Composed Files
#
echo "Adding files found in composer.json to .gitignore..."
box ignore-composed-files --quiet

#
#  Enable File Watchers
#
#   Uncomment these after issues #147 and #150 are done.
#
#echo "Enable File Watchers..."
#box enable-file-watchers --quiet

echo "Congratulations! WPLib Box is now installed!"

<commit_msg>tiny change<commit_after>#!/usr/bin/env bash
#
# WPLib Box Provision Script
#

#
# Install the Box CLI for use inside the Guest, e.g. after `vagrant ssh`
#
echo "Installing Box CLI... (try: 'vagrant ssh' then 'box help')"
git clone https://github.com/wplib/box-cli.git /vagrant/scripts/guest/cli  2>/dev/null
cd /vagrant/scripts/guest/cli
./install-box-cli --quiet

#
#  Disassociate the cloned Git repo and initialize a new repo.
#
echo "Disassociating WPLib Box Git repo..."
box disassociate-git-repo --quiet

#
#  Enable Object Caching
#
echo "Enabling Redis-based Object Caching..."
box enable-object-caching --force --quiet

#
#  Ignoring Composed Files
#
echo "Adding files found in composer.json to .gitignore..."
box ignore-composed-files --quiet

#
#  Enable File Watchers
#
#   Uncomment these after issues #147 and #150 are done.
#
#echo "Enable File Watchers..."
#box enable-file-watchers --quiet

echo "Congratulations! WPLib Box is now installed!"


{'fraction_non_alphanumeric': 0.12474437627811862, 'fraction_numerical': 0.007157464212678937, 'mean_word_length': 3.615566037735849, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '784695', 'n_tokens_mistral': 696, 'n_tokens_neox': 654, 'n_words': 223}