<commit_before>#!/bin/bash
# Ubuntu 14.04 setup script
apt-get install -y git build-essential python3 python3-pip virtualenvwrapper nginx postgresql postgresql-server-dev-9.3 memcached libmemcached-dev python-imaging nginx supervisor libjpeg-dev libtiff5-dev libfreetype6-dev liblcms2-dev libwebp-devgroupadd --system webapps
useradd --system --gid webapps --shell /bin/bash --home /webapps/forum forum
mkdir -p /webapps/forum
chown forum /webapps/forum
su - forum
mkvirtualenv -p /usr/bin/python3 v-env
git clone https://github.com/maur1th/naxos-project.git
pip install -r naxos-project/requirements/production.txt<commit_msg>tweaked lts setup (incomplete)<commit_after>#!/bin/bash
# Ubuntu 14.04 setup script
sudo locale-gen en_US.UTF-8
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install -y git build-essential python3 python3-pip virtualenvwrapper nginx postgresql postgresql-server-dev-9.3 memcached libmemcached-dev python-imaging nginx supervisor libjpeg-dev libtiff5-dev libfreetype6-dev liblcms2-dev libwebp-dev
sudo groupadd --system web
sudo useradd --system --gid web --shell /bin/bash --home /var/www/forum forum
sudo mkdir -p /var/www/forum
sudo chown forum /var/www/forum
sudo chgrp web /var/www/forum
su - forum
mkvirtualenv -p /usr/bin/python3 v-env
git clone https://github.com/maur1th/naxos-project.git
pip install -r naxos-project/requirements/production.txt
{'fraction_non_alphanumeric': 0.09920920201294033, 'fraction_numerical': 0.019410496046010063, 'mean_word_length': 4.3538461538461535, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '4095036', 'n_tokens_mistral': 514, 'n_tokens_neox': 460, 'n_words': 134}