<commit_before>#!/bin/bash

set -e
set -x

# Turn on selinux to be more like production
sed -i 's/SELINUX=permissive/SELINUX=enforcing/' /etc/selinux/config
setenforce 1
setsebool -P httpd_can_network_connect 1

# Add host entry for sandbox.bigfix.com
echo 127.0.0.1 sandbox.bigfix.com >> /etc/hosts

# Add node yum repo
curl -sL https://rpm.nodesource.com/setup_5.x | bash -

# Add epel for nginx
yum install -y epel-release

# Install all the things
yum install -y nginx nodejs rsync gcc-c++

# Install and start docker
curl -sL https://get.docker.com | bash -
systemctl enable docker<commit_msg>add git to build env<commit_after>#!/bin/bash

set -e
set -x

# Turn on selinux to be more like production
sed -i 's/SELINUX=permissive/SELINUX=enforcing/' /etc/selinux/config
setenforce 1
setsebool -P httpd_can_network_connect 1

# Add host entry for sandbox.bigfix.com
echo 127.0.0.1 sandbox.bigfix.com >> /etc/hosts

# Add node yum repo
curl -sL https://rpm.nodesource.com/setup_5.x | bash -

# Add epel for nginx
yum install -y epel-release

# Install all the things
yum install -y nginx nodejs rsync gcc-c++ git-all

# Install and start docker
curl -sL https://get.docker.com | bash -
systemctl enable docker
{'fraction_non_alphanumeric': 0.10322047894302229, 'fraction_numerical': 0.01486374896779521, 'mean_word_length': 3.6795366795366795, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '7193547', 'n_tokens_mistral': 486, 'n_tokens_neox': 439, 'n_words': 144}