<commit_before>#!/bin/bash
if [ -f concrete5-* ]
then
  rm concrete5-*
fi
wget https://s3-us-west-2.amazonaws.com/core-releases/8314/8532/5573/concrete5-8.1.0.zip
if [ -z "$(command -v unzip)" ]
then
  sudo apt-get -y install unzip
fi
unzip concrete5-*
sudo mv concrete5-*/* /mnt/ceph/fs/containers/provisioner/www/
sudo chmod 777 /mnt/ceph/fs/containers/provisioner/www/packages
sudo chmod 777 /mnt/ceph/fs/containers/provisioner/www/application/config
sudo chmod 777 /mnt/ceph/fs/containers/provisioner/www/application/files
sudo sed -i 's/Install concrete5/Install COACH/g' /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/<?php echo t('Site') ?>/<?php echo t('Cluster') ?>/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/pkgHandle == 'elemental_full'/pkgHandle == 'elemental_blank'/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/'DB_SERVER', \['required' => 'required'\]/'DB_SERVER', '127.0.0.1',  \['required' => 'required'\]/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/'DB_USERNAME'/'DB_USERNAME', 'root'/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/'DB_DATABASE'/'DB_DATABASE', 'db'/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/'Edit Your Site'/'Start'/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/<?php echo t('Starting Point') ?>//g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i 's/id="starting-point"/id="starting-point" style="display:none"/g' /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/<?php echo t('Database') ?>//g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i 's/id="database"/id="database" style="display:none"/g' /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/'concrete.misc.login_redirect', 'DESKTOP'/'concrete.misc.login_redirect', 'HOMEPAGE'/g" /mnt/ceph/fs/containers/provisioner/www/concrete/src/Package/StartingPointPackage.php<commit_msg>Update gui.sh<commit_after>#!/bin/bash
if [ -f concrete5-* ]
then
  rm concrete5-*
fi
wget https://s3-us-west-2.amazonaws.com/core-releases/8314/8532/5573/concrete5-8.1.0.zip
if [ -z "$(command -v unzip)" ]
then
  sudo apt-get -y install unzip
fi
unzip concrete5-*
sudo mv concrete5-*/* /mnt/ceph/fs/containers/provisioner/www/
sudo chmod 777 /mnt/ceph/fs/containers/provisioner/www/packages
sudo chmod 777 /mnt/ceph/fs/containers/provisioner/www/application/config
sudo chmod 777 /mnt/ceph/fs/containers/provisioner/www/application/files
sudo sed -i 's/Install concrete5/Install COACH/g' /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/<?php echo t('Site') ?>/<?php echo t('Cluster') ?>/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/pkgHandle == 'elemental_full'/pkgHandle == 'elemental_blank'/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/'DB_SERVER', \['required' => 'required'\]/'DB_SERVER', '127.0.0.1',  \['required' => 'required'\]/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/'DB_USERNAME'/'DB_USERNAME', 'root'/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/'DB_DATABASE'/'DB_DATABASE', 'db'/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/'Edit Your Site'/'Start'/g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
#sudo sed -i "s/<?php echo t('Starting Point') ?>//g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
#sudo sed -i 's/id="starting-point"/id="starting-point" style="display:none"/g' /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
#sudo sed -i "s/<?php echo t('Database') ?>//g" /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
#sudo sed -i 's/id="database"/id="database" style="display:none"/g' /mnt/ceph/fs/containers/provisioner/www/concrete/views/frontend/install.php
sudo sed -i "s/'concrete.misc.login_redirect', 'DESKTOP'/'concrete.misc.login_redirect', 'HOMEPAGE'/g" /mnt/ceph/fs/containers/provisioner/www/concrete/src/Package/StartingPointPackage.php
{'fraction_non_alphanumeric': 0.18095866314863676, 'fraction_numerical': 0.016710642040457344, 'mean_word_length': 4.750948166877371, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 32, 'xml': 0}, 'pii_count': 2, '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': '3284928', 'n_tokens_mistral': 1879, 'n_tokens_neox': 1768, 'n_words': 260}