<commit_before>from fabric.api import *

env.hosts = ['spoke.techbikers.com']
env.user = 'django'

def deploy():
    "Updates the repository."
    print "ENV %s" %(env.hosts)
    run("cd ~/webapps/techbikers.com/; git pull")
    run("cd ~/webapps/techbikers.com/; sed 's/^DEBUG = True$/DEBUG = False/' -i techbikers/settings.py")
    sudo("supervisorctl stop techbikers.com")
    sudo("pkill gunicorn")
    sudo("supervisorctl start techbikers.com")<commit_msg>kill django and gunicorn, not ideal for multi tennant<commit_after>from fabric.api import *

env.hosts = ['spoke.techbikers.com']
env.user = 'django'

def deploy():
    "Updates the repository."
    print "ENV %s" %(env.hosts)
    run("cd ~/webapps/techbikers.com/; git pull")
    run("cd ~/webapps/techbikers.com/; sed 's/^DEBUG = True$/DEBUG = False/' -i techbikers/settings.py")
    sudo("supervisorctl stop techbikers.com")
    sudo("pkill django")
    sudo("pkill gunicorn")
    sudo("supervisorctl start techbikers.com")
{'fraction_non_alphanumeric': 0.1590678824721378, 'fraction_numerical': 0.0, 'mean_word_length': 3.915422885572139, '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': '3977227', 'n_tokens_mistral': 373, 'n_tokens_neox': 344, 'n_words': 81}