<commit_before>'''
Open-Knesset fabfile. Usage:

$ fab [dev|live] setup deploy # for the first time
$ fab [dev|live] deploy # to run the latest version
'''
# Default release is 'current'
from __future__ import with_statement
from fabric.api import *
from fabric.contrib.console import confirm

env.repository = 'git://github.com/daonb/Open-Knesset.git'

def dev():
    """Staging server settings"""
    env.path = '/usr/local/src/dev.oknesset'
    env.hosts = ['dev.oknesset.org']

def live():
    """Production server settings"""
    env.path = '/usr/local/src/oknesset'
    env.hosts = ['oknesset.org']<commit_msg>more deployment refinments<commit_after>'''
Open-Knesset fabfile. Usage:

$ fab [dev|live] setup deploy # for the first time
$ fab [dev|live] deploy # to run the latest version
'''
# Default release is 'current'
from __future__ import with_statement
from fabric.api import *
from fabric.contrib.console import confirm

env.repository = 'git://github.com/daonb/Open-Knesset.git'

def dev(port=80):
    """Staging server settings"""
    env.path = '/usr/local/src/dev.oknesset'
    env.hosts = ['dev.oknesset.org:%s' % port]

def live(port=80):
    """Production server settings"""
    env.path = '/usr/local/src/oknesset'
    env.hosts = ['oknesset.org:%s' % port]
{'fraction_non_alphanumeric': 0.1485535574667709, 'fraction_numerical': 0.003127443315089914, 'mean_word_length': 4.059288537549407, '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': '4276856', 'n_tokens_mistral': 433, 'n_tokens_neox': 421, 'n_words': 113}