<commit_before>#!/bin/bash
sudo apt-get -y install git 
cd /vagrant
sudo npm install -g bower
npm install
cd client
bower install
cd ..
nodejs server/server.js&<commit_msg>idempotent installs, took out sudo<commit_after>#!/bin/bash
set -e
set -o pipefail
set -x

pushd /vagrant

  if [ -f .needs-update ]; then
    apt-get -y update
    apt-get -y upgrade
    rm -rf .needs-update
  fi

  which git > /dev/null || apt-get -y install git

  npm install -s
  pushd client
    ../node_modules/bower/bin/bower --allow-root install
  popd

popd
{'fraction_non_alphanumeric': 0.10760667903525047, 'fraction_numerical': 0.0, 'mean_word_length': 2.7241379310344827, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6280916', 'n_tokens_mistral': 214, 'n_tokens_neox': 196, 'n_words': 66}