<commit_before>#!/bin/sh

#if [[ $EUID -eq 0 ]]; then
#   echo "You shouldn't start LinePad as root!" 1>&2
#   exit 1
#fi

#if [ ! type -P node &>/dev/null ]; then
#  echo "You have no node installed!" 1>&2
#  exit 1
#fi
#|| { echo "I require foo but it's not installed.  Aborting." >&2; exit 1; }

cd ../node
authbind node server.js<commit_msg>Improve run.sh<commit_after>#!/bin/bash

if [[ $EUID -eq 0 ]]; then
   echo "You shouldn't start Etherpad-Lite as root!" 1>&2
   echo "Use authbind if you want to use a port lower than 1024 -> http://en.wikipedia.org/wiki/Authbind" 1>&2
   exit 1
fi

type -P node &>/dev/null || { 
  echo "You need to install node to run Etherpad-Lite!" >&2
  exit 1 
}

cd ../node
node server.js
{'fraction_non_alphanumeric': 0.15724137931034482, 'fraction_numerical': 0.028965517241379312, 'mean_word_length': 3.033333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '3538784', 'n_tokens_mistral': 296, 'n_tokens_neox': 269, 'n_words': 102}