<commit_before>FOLDER="theshelf"
readonly FOLDER

git clone <EMAIL>:groupbuddies/theshelf.git $FOLDER || {
  echo "git not installed"
  exit
}

cd $FOLDER

printf "Bundle install...\n"
bundle install --quiet

printf "Database setup...\n"
bundle exec rake db:migrate VERBOSE=false

printf "Creating first user...\n"
printf "Type the email: "
read email
printf "Type the password: "
read -s password

printf "\nWaiting..."
bundle exec rake create:user email=$email password=$password

printf " done.\n"
printf "You can now run \'rails server\' to start using TheShelf."<commit_msg>Fixes install script.<commit_after>FOLDER="theshelf"
readonly FOLDER

git clone <EMAIL>:groupbuddies/theshelf.git $FOLDER || {
  echo "git not installed"
  exit
}

cd $FOLDER

printf "Bundle install...\n"
bundle install --quiet

printf "Database setup...\n"
bundle exec rake db:migrate VERBOSE=false

printf "Creating first user...\n"
printf "Type the email: "
read email
printf "Type the password: "
read -s password

printf "\nWaiting..."
bundle exec rake create:user email=$email password=$password

printf " done.\n"
printf "You can now run the server to start using TheShelf."
{'fraction_non_alphanumeric': 0.11810344827586207, 'fraction_numerical': 0.0, 'mean_word_length': 4.325688073394495, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3468924', 'n_tokens_mistral': 390, 'n_tokens_neox': 371, 'n_words': 133}