<commit_before>#TODO once to make a virtual env in the pings project directory
BASE_DIR=/Tmp/$USER/
BASE_DIR=/opt/ping/
export WORKON_HOME=$BASE_DIR/.virtualenvs
export PROJECT_HOME=$BASE_DIR/pings_proj
mkdir -p $WORKON_HOME $PROJECT_HOME

source virtualenvwrapper.sh;
workon pings
cd server

${BASE_DIR}/nginx/sbin/nginx & sleep 5;
redis-server redis.conf & sleep 5;<commit_msg>small change to make the script more robust.<commit_after>#!/bin/sh
#TODO once to make a virtual env in the pings project directory
BASE_DIR=/Tmp/$USER/
BASE_DIR=/opt/ping/
export WORKON_HOME=$BASE_DIR/.virtualenvs
export PROJECT_HOME=$BASE_DIR/pings_proj
mkdir -p $WORKON_HOME $PROJECT_HOME

source virtualenvwrapper.sh;
workon pings
cd ${BASE_DIR}/Devel/pings/server

${BASE_DIR}/nginx/sbin/nginx & sleep 5;
redis-server redis.conf & sleep 5;
{'fraction_non_alphanumeric': 0.10328068043742406, 'fraction_numerical': 0.004860267314702308, 'mean_word_length': 5.699186991869919, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2724049', 'n_tokens_mistral': 308, 'n_tokens_neox': 291, 'n_words': 77}