<commit_before># This will install the web-app on a ubuntu server
# intallation instructions follow recipe given here http://blog.garethdwyer.co.za/2013/07/getting-simple-flask-app-running-on.html . Thanks !

APPNAME=unix2web
INSTALLDIR=/var/www/$APPNAME
sudo yes | apt-get install apache2 libapache2-mod-wsgi python-flask
sudo mkdir -p $INSTALLDIR
sudo mv /tmp/index.html $INSTALLDIR/
sudo mv /tmp/index.css $INSTALLDIR/
sudo mv /tmp/$APPNAME.py $INSTALLDIR/
sudo mv /tmp/$APPNAME.wsgi $INSTALLDIR/
sudo mv /tmp/100$APPNAME.conf /etc/apache2/sites-available
sudo a2dissite 000-default
sudo a2ensite 100$APPNAME
sudo /etc/init.d/apache2 restart


<commit_msg>cp files instead of mv; remove hardcoded /tmp path<commit_after># This will install the web-app on a ubuntu server
# intallation instructions follow recipe given here http://blog.garethdwyer.co.za/2013/07/getting-simple-flask-app-running-on.html . Thanks !

APPNAME=unix2web
INSTALLDIR=/var/www/$APPNAME
sudo yes | apt-get install apache2 libapache2-mod-wsgi python-flask
sudo mkdir -p $INSTALLDIR
sudo cp index.html $INSTALLDIR/
sudo cp index.css $INSTALLDIR/
sudo cp $APPNAME.py $INSTALLDIR/
sudo cp $APPNAME.wsgi $INSTALLDIR/
sudo cp 100$APPNAME.conf /etc/apache2/sites-available
sudo a2dissite 000-default
sudo a2ensite 100$APPNAME
sudo /etc/init.d/apache2 restart



{'fraction_non_alphanumeric': 0.10225563909774436, 'fraction_numerical': 0.03308270676691729, 'mean_word_length': 4.592436974789916, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5662760', 'n_tokens_mistral': 531, 'n_tokens_neox': 449, 'n_words': 128}