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

# ~/.env is created by the launch configuration's User Data. It's just a file full of "export SOME_ENV_VAR=value".
source ~/.env
/usr/local/bin/docker-compose --file docker-compose-production.yml up -d > /var/log/docker-compose.log 2> /var/log/docker-compose.log<commit_msg>Attempt at on-box deploys<commit_after>#!/usr/bin/env bash
cd /app

# ~/.env is created by the launch configuration's User Data. It's just a file full of "export SOME_ENV_VAR=value".
source ~/.env
/usr/local/bin/docker-compose --file docker-compose-production.yml down -d > /var/log/docker-compose.log 2> /var/log/docker-compose.log
/usr/local/bin/docker-compose --file docker-compose-production.yml up -d > /var/log/docker-compose.log 2> /var/log/docker-compose.log
{'fraction_non_alphanumeric': 0.14795918367346939, 'fraction_numerical': 0.003826530612244898, 'mean_word_length': 3.815950920245399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '5907900', 'n_tokens_mistral': 303, 'n_tokens_neox': 272, 'n_words': 72}