<commit_before>#!/usr/bin/env bash

export CUSTOMSETTINGS="docker.localsettings_docker"

./manage.py sync_couch_views
env CCHQ_IS_FRESH_INSTALL=1 ./manage.py migrate --noinput
./manage.py compilejsi18n
bower install --config.interactive=false

./manage.py bootstrap demo <EMAIL> password
<commit_msg>Create kafka topics as part of bootstrap<commit_after>#!/usr/bin/env bash

export CUSTOMSETTINGS="docker.localsettings_docker"

./manage.py sync_couch_views
env CCHQ_IS_FRESH_INSTALL=1 ./manage.py migrate --noinput
./manage.py compilejsi18n
bower install --config.interactive=false

./docker/create-kafka-topics.sh

./manage.py bootstrap demo <EMAIL> password

{'fraction_non_alphanumeric': 0.10909090909090909, 'fraction_numerical': 0.00909090909090909, 'mean_word_length': 5.295238095238095, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6617965', 'n_tokens_mistral': 252, 'n_tokens_neox': 227, 'n_words': 49}