<commit_before>#!/bin/bash
cd /opt/superdesk/client/dist &&
sed -i -e "s/http:\/\/localhost:5000\/api/$(echo $SUPERDESK_URL | sed 's/\//\\\//g')/g" index.html -e "s/ws:\/\/localhost:5100/$(echo $SUPERDESK_WS_URL | sed 's/\//\\\//g')/" &&
nginx &

cd /opt/superdesk &&
bash ./scripts/fig_wrapper.sh honcho start
<commit_msg>chore(docker: start.sh): fill embedly key<commit_after>#!/bin/bash
cd /opt/superdesk/client/dist &&
sed -i \
 -e "s/http:\/\/localhost:5000\/api/$(echo $SUPERDESK_URL | sed 's/\//\\\//g')/g" \
 -e "s/ws:\/\/localhost:5100/$(echo $SUPERDESK_WS_URL | sed 's/\//\\\//g')/g" \
 -e 's/"embedly":{"key":""}/"embedly":{"key":"'$EMBEDLY_KEY'"}/g' \
 index.html &&
nginx &

cd /opt/superdesk &&
bash ./scripts/fig_wrapper.sh honcho start

{'fraction_non_alphanumeric': 0.27393617021276595, 'fraction_numerical': 0.02127659574468085, 'mean_word_length': 3.092391304347826, 'pattern_counts': {'":': 4, '<': 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': '3462184', 'n_tokens_mistral': 345, 'n_tokens_neox': 322, 'n_words': 52}