<commit_before>#!/bin/sh
# File to execute fiware-cloto component
#
# __author__ = 'gjp'

OS=`uname`
IP=`ifconfig  | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'`;

cd /opt/policyManager/fiware-cloto
python manage.py runserver $IP:8000
<commit_msg>Getting IP for all Unix OS.<commit_after>#!/bin/sh
# File to execute fiware-cloto component
#
# __author__ = 'gjp'

OS=`uname`
IP=`ping -c 1 $HOSTNAME | grep 'PING' | awk '{print $3}' | sed 's/[:()]//g'`;

cd /opt/policyManager/fiware-cloto
python manage.py runserver $IP:8000

{'fraction_non_alphanumeric': 0.18083182640144665, 'fraction_numerical': 0.0325497287522604, 'mean_word_length': 4.177570093457944, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3758044', 'n_tokens_mistral': 243, 'n_tokens_neox': 220, 'n_words': 59}