<commit_before>#!/bin/bash
echo Building API
git remote add api https://git.heroku.com/api-bloggyblog404.git
heroku buildpacks:set heroku/python --remote api
git commit --allow-empty -m "Deploying api"
git push --force api master
heroku run python manage.py migrate --remote api

echo Building Client
echo $environment
git remote add client https://git.heroku.com/bloggyblog404.git
heroku buildpacks:set heroku/nodejs --remote client
git add client
git commit --allow-empty -m "Deploying Client"
git push --force client master

heroku ps:scale web=1 --app bloggyblog404
heroku ps:scale web=1 --app api-bloggyblog404
<commit_msg>Okay its working I think?<commit_after>#!/bin/bash
echo Building API ------------------------------
git remote add api https://git.heroku.com/api-bloggyblog404.git
heroku buildpacks:set heroku/python --remote api
git commit --allow-empty -m "Deploying api"
git push --force api master
heroku run python manage.py migrate --remote api

echo Building Client -----------------------------
npm install
npm run build-prod
git remote add client https://git.heroku.com/bloggyblog404.git
heroku buildpacks:set heroku/nodejs --remote client
git add client
git commit --allow-empty -m "Deploying Client"
git push --force client master

heroku ps:scale web=1 --app bloggyblog404
heroku ps:scale web=1 --app api-bloggyblog404

{'fraction_non_alphanumeric': 0.13263785394932937, 'fraction_numerical': 0.020864381520119227, 'mean_word_length': 3.5067114093959733, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6901229', 'n_tokens_mistral': 423, 'n_tokens_neox': 398, 'n_words': 149}