<commit_before>#!/usr/bin/env bash

# copy load balance config script
cp /rstudio/vagrant/load-balancer /etc/rstudio/load-balancer

# copy and set permissions on secure cookie key
cp /rstudio/vagrant/secure-cookie-key /etc/rstudio/secure-cookie-key
chmod 0600 /etc/rstudio/secure-cookie-key

# install NFS server and export user home directories
apt-get install -y nfs-kernel-server
echo "/primary/home   *(rw,sync,no_root_squash)" >> /etc/exports
service nfs-kernel-server start

# create shared storage folder and add to config files
mkdir -p /home/shared-storage
chmod 1777 /home/shared-storage
echo "server-shared-storage-path=/home/shared-storage" >> /etc/rstudio/rserver.conf<commit_msg>use updated /primary/ path to configure shared storage<commit_after>#!/usr/bin/env bash

# copy load balance config script
cp /rstudio/vagrant/load-balancer /etc/rstudio/load-balancer

# copy and set permissions on secure cookie key
cp /rstudio/vagrant/secure-cookie-key /etc/rstudio/secure-cookie-key
chmod 0600 /etc/rstudio/secure-cookie-key

# install NFS server and export user home directories
apt-get install -y nfs-kernel-server
echo "/primary/home   *(rw,sync,no_root_squash)" >> /etc/exports
service nfs-kernel-server start

# create shared storage folder and add to config files
mkdir -p /primary/home/shared-storage
chmod 1777 /primary/home/shared-storage
echo "server-shared-storage-path=/primary/home/shared-storage" >> /etc/rstudio/rserver.conf
{'fraction_non_alphanumeric': 0.1082012405237767, 'fraction_numerical': 0.011026878015161957, 'mean_word_length': 4.520912547528517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '6324656', 'n_tokens_mistral': 492, 'n_tokens_neox': 467, 'n_words': 128}