<commit_before>#!/bin/bash
# git version:
git pull
# svn version:
#svn update
bundle install --deployment
bundle exec rake db:migrate RAILS_ENV=production
# MongoDB indexes:
# rake db:mongoid:create_indexes RAILS_ENV=production
bundle exec rake assets:precompile RAILS_ENV=production
touch tmp/restart.txt<commit_msg>update script should do `rake db:seed`<commit_after>#!/bin/bash
# git version:
git pull
# svn version:
#svn update
bundle install --deployment
bundle exec rake db:migrate RAILS_ENV=production
bundle exec rake db:seed RAILS_ENV=production
# MongoDB indexes:
# rake db:mongoid:create_indexes RAILS_ENV=production
bundle exec rake assets:precompile RAILS_ENV=production
touch tmp/restart.txt
{'fraction_non_alphanumeric': 0.08085106382978724, 'fraction_numerical': 0.0, 'mean_word_length': 7.114942528735632, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5341082', 'n_tokens_mistral': 241, 'n_tokens_neox': 234, 'n_words': 67}