<commit_before>#!/bin/sh

/home/wger/venvwrapper migrate

if [ "${DOWNLOAD_IMGS}" = "TRUE" ]; then
  /home/wger/venvwrapper download-exercise-images
  chmod -R g+w ~wger/media
fi

/home/wger/venvwrapper collectstatic --no-input
/home/wger/venvwrapper compress --force

/usr/sbin/apache2ctl -D FOREGROUND<commit_msg>Change owner of static folder<commit_after>#!/bin/sh

/home/wger/venvwrapper migrate

if [ "${DOWNLOAD_IMGS}" = "TRUE" ]; then
  /home/wger/venvwrapper download-exercise-images
  chmod -R g+w ~wger/media
fi

/home/wger/venvwrapper collectstatic --no-input
/home/wger/venvwrapper compress --force
chown www-data:www-data -R /home/wger/static

/usr/sbin/apache2ctl -D FOREGROUND
{'fraction_non_alphanumeric': 0.14037626628075253, 'fraction_numerical': 0.002894356005788712, 'mean_word_length': 4.125925925925926, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7639937', 'n_tokens_mistral': 272, 'n_tokens_neox': 263, 'n_words': 53}