<commit_before>#!/bin/sh
xulrunner_version=192.168.3.11
couchdb_version=1.1.1
prefix=/opt/couchdb

#dependencies
sudo apt-get install build-essential erlang xulrunner-dev libicu-dev help2man libcurl4-openssl-dev


(\
cd apache-couchdb-$couchdb_version && \
./configure --prefix=$prefix --with-js-lib=/usr/lib/xulrunner-devel-$xulrunner_version/lib \
            --with-js-include=/usr/lib/xulrunner-devel-$xulrunner_version/include &&\
make && \
sudo make install \
) &&\

sudo su -c "echo \"/usr/lib/xulrunner-devel-$xulrunner_version/lib\" > /etc/ld.so.conf.d/xulrunner.conf"


# Add couchdb user account
sudo useradd -d $prefix/var/lib/couchdb couchdb <commit_msg>link against non-devel version of xulrunner when building couchdb<commit_after>#!/bin/sh
xulrunner_version=172.16.58.3
couchdb_version=1.1.1
prefix=/opt/couchdb

#dependencies
sudo apt-get install build-essential erlang xulrunner-dev libicu-dev help2man libcurl4-openssl-dev


(\
cd apache-couchdb-$couchdb_version && \
./configure --prefix=$prefix --with-js-lib=/usr/lib/xulrunner-$xulrunner_version/ \
            --with-js-include=/usr/lib/xulrunner-devel-$xulrunner_version/include &&\
make && \
sudo make install \
) &&\

sudo su -c "echo \"/usr/lib/xulrunner-$xulrunner_version/\" > /etc/ld.so.conf.d/xulrunner.conf"


# Add couchdb user account
sudo useradd -d $prefix/var/lib/couchdb couchdb 
{'fraction_non_alphanumeric': 0.1485003657644477, 'fraction_numerical': 0.019751280175566936, 'mean_word_length': 3.851063829787234, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '3592522', 'n_tokens_mistral': 543, 'n_tokens_neox': 498, 'n_words': 86}