<commit_before>#!/bin/bash

#
# Configure database.
#
echo "Nothing here yet."<commit_msg>adding a mongo configure script<commit_after>#!/bin/sh

#
# Creates an user in the
# MongoDB instance.
#
mongo $MONGO_PORT_27017_TCP_ADDR:27017/$MONGODB_DATABASE \
  --eval "db.createUser({user: '$MONGODB_USER_NAME', pwd: '$<PASSWORD>', roles: [{ role: 'readWrite', db: '$MONGODB_DATABASE' },]})"
{'fraction_non_alphanumeric': 0.17098445595854922, 'fraction_numerical': 0.025906735751295335, 'mean_word_length': 5.910714285714286, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '6838760', 'n_tokens_mistral': 162, 'n_tokens_neox': 151, 'n_words': 30}