<commit_before>set(
    fab_hosts = ['startthedark.com'],
    fab_user = 'startthedark',
)

def unlink_nginx():
    'Un-link nginx rules for startthedark.'
    sudo('rm -f /etc/nginx/sites-enabled/startthedark.com')
    sudo('/etc/init.d/nginx reload')

def link_nginx():
    'Link nginx rules for startthedark'
    sudo('ln -s /etc/nginx/sites-available/startthedark.com /etc/nginx/sites-enabled/startthedark.com')
    sudo('/etc/init.d/nginx reload')

def deploy():
    'Deploy startthedark.'
    local('bash make_prod_css.sh')
    local('git commit -a -m "Rebuilt Prod CSS For Commit')
    local('git push')
    run('cd startthedark; git pull')
    sudo('/etc/init.d/apache2 reload')<commit_msg>Rebuilt Prod CSS For Commit<commit_after>set(
    fab_hosts = ['startthedark.com'],
    fab_user = 'startthedark',
)

def unlink_nginx():
    'Un-link nginx rules for startthedark.'
    sudo('rm -f /etc/nginx/sites-enabled/startthedark.com')
    sudo('/etc/init.d/nginx reload')

def link_nginx():
    'Link nginx rules for startthedark'
    sudo('ln -s /etc/nginx/sites-available/startthedark.com /etc/nginx/sites-enabled/startthedark.com')
    sudo('/etc/init.d/nginx reload')

def deploy():
    'Deploy startthedark.'
    local('bash make_prod_css.sh')
    local('git commit -a -m "Rebuilt Prod CSS For Commit"')
    local('git push')
    run('cd startthedark; git pull')
    sudo('/etc/init.d/apache2 reload')
{'fraction_non_alphanumeric': 0.15237420269312543, 'fraction_numerical': 0.001417434443656981, 'mean_word_length': 3.540192926045016, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3648905', 'n_tokens_mistral': 553, 'n_tokens_neox': 519, 'n_words': 109}