<commit_before>
# Prepare directories, builds and deploy mavulp.com as well as clean up output files.
mkdir -p /var/www/mavulp.com/private/log && mkdir -p /var/www/mavulp.com/public || { printf "Failed to create required directory structure.\n" ; exit ; }
printf "Created required directory structure.\n"

printf "Running sitegen...\n"

if sitegen ; then
	cp -Rf www/* /var/www/mavulp.com/public || { printf "Failed to copy files to the public server directory.\n" ; exit; }
	printf "Copied built files to the public server directory.\n"

	rm -dRf www || { printf "Failed to remove local build files." ; exit ; }
	printf "Removed locally built files.\n"

	printf "\n\033[1mSite (mavulp.com) successfully built and deployed.\033[0m\n"<commit_msg>mavulp.com: Edited deploy script to remove previous remote content<commit_after>
# Prepare directories, builds and deploy mavulp.com as well as clean up output files.
mkdir -p /var/www/mavulp.com/private/log && mkdir -p /var/www/mavulp.com/public || { printf "Failed to create required directory structure.\n" ; exit ; }
printf "Created required directory structure.\n"

printf "Running sitegen...\n"

if sitegen ; then
	rm -dRf /var/www/mavulp.com/public/* || { printf "Failed to clear the remote directory." ; exit ; }
	printf "Removed deployment directory contents if any were present.\n"

	cp -Rf www/* /var/www/mavulp.com/public || { printf "Failed to copy files to the public server directory.\n" ; exit; }
	printf "Copied built files to the public server directory.\n"

	rm -dRf www || { printf "Failed to remove local build files." ; exit ; }
	printf "Removed locally built files.\n"

	printf "\n\033[1mSite (mavulp.com) successfully built and deployed.\033[0m\n"
{'fraction_non_alphanumeric': 0.11946386946386946, 'fraction_numerical': 0.009324009324009324, 'mean_word_length': 3.7960893854748603, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 11, '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': '7208028', 'n_tokens_mistral': 545, 'n_tokens_neox': 524, 'n_words': 199}