<commit_before>#!/bin/sh

echo creating project structure...
mkdir -p ~/web/{etc,uploads,public}/
mkdir -p ~/web/public/{img,js,css}/

echo moving and linking nginx configuration file...
mv ./nginx.conf ~/web/etc/nginx.conf
sudo ln -sf ~/web/etc/nginx.conf  /etc/nginx/sites-enabled/default

echo restarting nginx...
sudo /etc/init.d/nginx restart<commit_msg>relative path to config file in init script<commit_after>#!/bin/sh

echo creating project structure...
mkdir -p ~/web/{etc,uploads,public}/
mkdir -p ~/web/public/{img,js,css}/

echo moving and linking nginx configuration file...
mv $(dirname $0)/nginx.conf ~/web/etc/nginx.conf
sudo ln -sf ~/web/etc/nginx.conf  /etc/nginx/sites-enabled/default

echo restarting nginx...
sudo /etc/init.d/nginx restart
{'fraction_non_alphanumeric': 0.15657894736842104, 'fraction_numerical': 0.0013157894736842105, 'mean_word_length': 3.75625, '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': '838190', 'n_tokens_mistral': 284, 'n_tokens_neox': 261, 'n_words': 71}