<commit_before># Enable MongoDB Enterprise repo
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://repo.mongodb.com/apt/ubuntu precise/mongodb-enterprise/stable multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
apt-get update

# Python stuff for mongo-orchestration
apt-get install -y python python-dev python-pip

# Latest MongoDB Enterprise
apt-get install -y mongodb-enterprise

pip install --upgrade 'git+https://github.com/10gen/mongo-orchestration.git#egg=mongo_orchestration'

# Launch mongo-orchestration
mongo-orchestration -b 192.168.112.10 start

<commit_msg>mongo-orchestration isn't happy about the recent pymongo3.0 release<commit_after># Enable MongoDB Enterprise repo
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://repo.mongodb.com/apt/ubuntu precise/mongodb-enterprise/stable multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
apt-get update

# Python stuff for mongo-orchestration
apt-get install -y python python-dev python-pip

# Latest MongoDB Enterprise
apt-get install -y mongodb-enterprise

# mongo-orchestration doesn't play well with pymongo3
# https://github.com/10gen/mongo-orchestration/issues/188
pip install pymongo==2.8

pip install --upgrade 'git+https://github.com/10gen/mongo-orchestration.git#egg=mongo_orchestration'

# Launch mongo-orchestration
mongo-orchestration -b 192.168.112.10 start


{'fraction_non_alphanumeric': 0.10857538035961273, 'fraction_numerical': 0.03319502074688797, 'mean_word_length': 4.8582995951417, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1441830', 'n_tokens_mistral': 548, 'n_tokens_neox': 491, 'n_words': 113}