<commit_before>#!/usr/bin/env php
<?php

require_once __DIR__.'/base_script.php';

build_bootstrap();

show_run("database:drop", "app/console doctrine:database:drop --force");
show_run("database:create", "app/console doctrine:database:create");
show_run("schema:create", "app/console doctrine:schema:create");

show_run("Destroying cache dir manually", "rm -rf app/cache/*");

show_run("Creating directories for app kernel", "mkdir -p app/cache/dev app/cache/test app/logs web/uploads");

show_run("Warming up dev cache", "php app/console --env=dev cache:clear");
//show_run("Warming up test cache", "php app/console --env=test cache:clear");

show_run("fixtures:load", "app/console doctrine:fixtures:load --purge-with-truncate --no-interaction");

show_run("Changing permissions", "chmod -R 777 app/cache app/logs web/uploads");

show_run("assets:install", "app/console assets:install");

exit(0);
<commit_msg>updated reload script<commit_after>#!/usr/bin/env php
<?php

require_once __DIR__.'/base_script.php';

build_bootstrap();

show_run("database:drop", "app/console doctrine:database:drop --force");
show_run("database:create", "app/console doctrine:database:create");
show_run("schema:create", "app/console doctrine:schema:create");

show_run("Destroying cache dir manually", "rm -rf app/cache/*");

show_run("Creating directories for app kernel", "mkdir -p app/cache/dev app/cache/test app/logs web/uploads");

show_run("Warming up dev cache", "php app/console --env=dev cache:clear");
//show_run("Warming up test cache", "php app/console --env=test cache:clear");

//show_run("fixtures:load", "app/console doctrine:fixtures:load --purge-with-truncate --no-interaction");
show_run("fixtures:load", "app/console doctrine:fixtures:load --no-interaction");

show_run("Changing permissions", "chmod -R 777 app/cache app/logs web/uploads");

show_run("assets:install", "app/console assets:install");

exit(0);

{'fraction_non_alphanumeric': 0.1729362591431557, 'fraction_numerical': 0.0041797283176593526, 'mean_word_length': 6.629482071713148, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6908544', 'n_tokens_mistral': 641, 'n_tokens_neox': 613, 'n_words': 140}