<commit_before>#!/bin/bash

cd ~/app-root/runtime/repo

rm -rf ChannelWorm

git clone https://github.com/VahidGh/ChannelWorm.git

#rm ChannelWorm/channelworm/db.sqlite3

cp -r ChannelWorm/channelworm/* ~/app-root/runtime/repo
cp -r ChannelWorm/channelworm/.openshift/* ~/app-root/runtime/repo/.openshift

#echo "y" | python manage.py makemigrations
#DJANGO_SETTINGS_MODULE=web_app.settings python -c 'import django; django.setup(); django.core.management.call_command("makemigrations", merge=True, interactive=True)'
#python manage.py migrate<commit_msg>Stopping sync db with OpenShift<commit_after>#!/bin/bash

cd ~/app-root/runtime/repo

rm -rf ChannelWorm

git clone https://github.com/VahidGh/ChannelWorm.git

rm ChannelWorm/channelworm/db.sqlite3

cp -r ChannelWorm/channelworm/* ~/app-root/runtime/repo
cp -r ChannelWorm/channelworm/.openshift/* ~/app-root/runtime/repo/.openshift

#echo "y" | python manage.py makemigrations
#DJANGO_SETTINGS_MODULE=web_app.settings python -c 'import django; django.setup(); django.core.management.call_command("makemigrations", merge=True, interactive=True)'
#python manage.py migrate
{'fraction_non_alphanumeric': 0.13244444444444445, 'fraction_numerical': 0.0017777777777777779, 'mean_word_length': 5.508670520231214, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '824186', 'n_tokens_mistral': 408, 'n_tokens_neox': 385, 'n_words': 75}