<commit_before>#!/bin/bash

function jcecho {
    echo "==> javiercejudo.com: $1"
}

{
    while [ ! -e /tmp/heroku.fcgi.5000.sock ]; do
        sleep 1
    done;

    jcecho "Application ready!"
    sudo chmod o+w /tmp/heroku.fcgi.5000.sock
} &

jcecho "Starting application..."

sudo foreman start

jcecho "Goodbye!"<commit_msg>Add live env option for local server script [skip ci]<commit_after>#!/bin/bash

function jcecho {
    echo "==> javiercejudo.com: $1"
}

{
    while [[ ! -e /tmp/heroku.fcgi.5000.sock ]]; do
        sleep 1
    done;

    jcecho "Application ready!"
    sudo chmod o+w /tmp/heroku.fcgi.5000.sock
} &

jcecho "Starting application..."

if [[ $1 == "live" ]]
then sudo foreman start --env=.env.live
else sudo foreman start
fi

jcecho "Goodbye!"
{'fraction_non_alphanumeric': 0.14766839378238342, 'fraction_numerical': 0.027202072538860103, 'mean_word_length': 2.845771144278607, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '479555', 'n_tokens_mistral': 320, 'n_tokens_neox': 291, 'n_words': 74}