<commit_before>#!/bin/sh

set -e

echo "setting up the database"
django-admin.py migrate
django-admin.py collectstatic --noinput

echo "from django.contrib.auth.models import User
if not User.objects.filter(username='admin').count():
    User.objects.create_superuser('admin', '<EMAIL>', '<PASSWORD>')
" | django-admin.py shell<commit_msg>django-admin migrate should have --noinput too<commit_after>#!/bin/sh

set -e

echo "setting up the database"
django-admin.py migrate --noinput
django-admin.py collectstatic --noinput

echo "from django.contrib.auth.models import User
if not User.objects.filter(username='admin').count():
    User.objects.create_superuser('admin', '<EMAIL>', 'pass')
" | django-admin.py shell
{'fraction_non_alphanumeric': 0.14685314685314685, 'fraction_numerical': 0.0, 'mean_word_length': 5.067796610169491, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '2104460', 'n_tokens_mistral': 226, 'n_tokens_neox': 222, 'n_words': 57}