<commit_before>#!/bin/bash
mkdir -p logs
chmod ugo+rx data analytics
chmod ugo+rwx logs
docker run -u shiny -d --rm -p 80:3838 \
  -v ${PWD}/data:/srv/shiny-server/bcape/data \
  -v ${PWD}/analytics:/srv/shiny-server/bcape/analytics \
  -v ${PWD}/logs:/var/log/shiny-server \
  crukci-bioinformatics/bcape<commit_msg>Updated for change of location of analytics.js and bcape.sqlite<commit_after>#!/bin/bash
chmod ugo+r bcape.sqlite analytics.js
mkdir -p logs
chmod ugo+rwx logs
docker run -u shiny -d --rm -p 80:3838 \
  -v ${PWD}/bcape.sqlite:/srv/shiny-server/bcape/bcape.sqlite \
  -v ${PWD}/analytics.js:/srv/shiny-server/bcape/analytics.js \
  -v ${PWD}/logs:/var/log/shiny-server \
  crukci-bioinformatics/bcape
{'fraction_non_alphanumeric': 0.16201117318435754, 'fraction_numerical': 0.01675977653631285, 'mean_word_length': 3.509433962264151, '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': '4961893', 'n_tokens_mistral': 321, 'n_tokens_neox': 294, 'n_words': 59}