<commit_before>#!/bin/bash
#
# Script to install backend for the CRUDForge on Ubuntu 12.10
# author: <NAME>
#
#define colors
NC='\e[0m' # No Color
red='\e[0;31m'
green='\e[0;32m'
yellow='\e[0;33m'
blue='\e[0;34m'
#
#install Git
sudo apt-get install git
echo -e "${yellow}Git installed${NC}"
#install LAMP Server
sudo apt-get install lamp-server^
echo -e "${yellow}LAMP installed${NC}"
#install composer
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
echo -e "${yellow}Composer installed, use it: composer${NC}"
cp app/config/parameters.yml.dist app/config/parameters.yml
#post-install checklist
echo -e "${blue}\n----------------------------------------------"
echo -e "TO-DO:"
echo -e " [X] add 'extension=mongo.so' in /etc/php5/cli/php.ini\n"
echo -e " [ ] Configure mongodb in /etc/mongodb.conf\n"
echo -e "${NC}"
sleep 2
<commit_msg>* fixed install backend, added curl dependency<commit_after>#!/bin/bash
#
# Script to install backend for the CRUDForge on Ubuntu 12.10
# author: <NAME>
#
#define colors
NC='\e[0m' # No Color
red='\e[0;31m'
green='\e[0;32m'
yellow='\e[0;33m'
blue='\e[0;34m'
#
#install Git
sudo apt-get install git
echo -e "${yellow}Git installed${NC}"
#install dependencies 
sudo apt-get install curl
#install LAMP Server
sudo apt-get install lamp-server^
echo -e "${yellow}LAMP installed${NC}"
#install composer
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
echo -e "${yellow}Composer installed, use it: composer${NC}"
cp app/config/parameters.yml.dist app/config/parameters.yml
#post-install checklist
echo -e "${blue}\n----------------------------------------------"
echo -e "${NC}"
sleep 2

{'fraction_non_alphanumeric': 0.20969626168224298, 'fraction_numerical': 0.02161214953271028, 'mean_word_length': 3.6048387096774195, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5682885', 'n_tokens_mistral': 650, 'n_tokens_neox': 592, 'n_words': 174}