<commit_before># Unzip uploaded ghost.zip
"Unzipping Ghost to /site/temp/latest"
cd "D:\home\site\temp"
If (Test-Path ./latest/){
    Remove-Item -Path ./latest/* -Recurse
}
unzip -d ./latest/ ghost.zip

# Delete index.js, package.json, ./core and ./content/themes/casper/*
cd "D:\home\site\wwwroot"
"Removing core"
Remove-Item -Path ./core/* -Recurse
"Removing Caspter theme"
Remove-Item -Path ./content/themes/casper/* -Recurse
"Removing index.js"
Remove-Item -Path index.js
"Removing package.json"
Remove-Item -Path package.json

# Move index.js, package.json, ./core and ./content/themes/casper/*
cd "D:\home\site\temp\latest"
"Moving core"
Move-Item -Path ./core/* -Destination D:\home\site\wwwroot\core\
"Moving Casper"
Move-Item -Path ./content/themes/casper/* -Destination D:\home\site\wwwroot\content\themes\casper\
"Moving index.js"
Move-Item -Path ./index.js -Destination D:\home\site\wwwroot\
"Moving package.json"
Move-Item -Path ./package.json -Destination D:\home\site\wwwroot\

# Cleanup NPM modules
cd "D:\home\site\wwwroot"
"Running npm install (production)"
npm install --production

# Cleanup
"We're done, cleaning up!"
cd "D:\home\site\temp\"
"Removing temp Ghost folder"
Remove-Item -Path ./latest -Recurse
"Removing temp Ghost zip"
Remove-Item -Path ./ghost.zip

"All done"<commit_msg>Create /content/apps if it doesn't exist<commit_after># Unzip uploaded ghost.zip
"Unzipping Ghost to /site/temp/latest"
cd "D:\home\site\temp"
If (Test-Path ./latest/){
    Remove-Item -Path ./latest/* -Recurse
}
unzip -d ./latest/ ghost.zip

# Delete index.js, package.json, ./core and ./content/themes/casper/*
cd "D:\home\site\wwwroot"
"Removing core"
Remove-Item -Path ./core/* -Recurse
"Removing Caspter theme"
Remove-Item -Path ./content/themes/casper/* -Recurse
"Removing index.js"
Remove-Item -Path index.js
"Removing package.json"
Remove-Item -Path package.json

# Move index.js, package.json, ./core and ./content/themes/casper/*
cd "D:\home\site\temp\latest"
"Moving core"
Move-Item -Path ./core/* -Destination D:\home\site\wwwroot\core\
"Moving Casper"
Move-Item -Path ./content/themes/casper/* -Destination D:\home\site\wwwroot\content\themes\casper\
"Moving index.js"
Move-Item -Path ./index.js -Destination D:\home\site\wwwroot\
"Moving package.json"
Move-Item -Path ./package.json -Destination D:\home\site\wwwroot\
"Creating required elements"
New-Item -ItemType directory -Path D:\home\site\wwwroot\content\apps

# Cleanup NPM modules
cd "D:\home\site\wwwroot"
"Running npm install (production)"
npm install --production

# Cleanup
"We're done, cleaning up!"
cd "D:\home\site\temp\"
"Removing temp Ghost folder"
Remove-Item -Path ./latest -Recurse
"Removing temp Ghost zip"
Remove-Item -Path ./ghost.zip

"All done"
{'fraction_non_alphanumeric': 0.15906603429405328, 'fraction_numerical': 0.0, 'mean_word_length': 3.8105263157894735, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 13, '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': '3572841', 'n_tokens_mistral': 970, 'n_tokens_neox': 941, 'n_words': 260}