<commit_before># angular2-project-starter

<strong>Installation</strong><br />
<p>Make sure before executing the command below that /var/www is writable.<br />
The command will download a .sh script and execute it.</p>

<strong>What does the script?</strong><br />
<p>
The script creates an app directory inside /var/www if it's not created.
It will also install a virtual host into the /etc/apache2 directory if the app.conf is not found.
It will add the projectname to the /etc/hosts file.
It will start download all required files needed for the angular 2 project inside /var/www/app/[project-name(string)]/
</p>
<p>
The script can be executed again to just use a different version of bootstrap eg. 3 or 4. 
In this case it will modify some files and remove package not longer needed followed by downloading required packages from npm.
</p>
<ul>
<li>Replace [project-name(string)] below with the project name.</li>
<li>Replace [bootstrap-version(int)] below with the bootstrap version to use for the project, either 3 or 4.</li>
</ul>
Open a terminal and execute:<br />
<code>
wget https://raw.githubusercontent.com/ssglopes/angular2-project-starter/master/install.angular2.project.sh -P /var/www/ && chmod +x /var/www/install.angular2.project.sh && ./install.angular2.project.sh [project-name(string)] [bootstrap-version(int)]
</code>

<p>
After execution has finished open a browser and go to either:<br />
For developement against webpack server: http://localhost:8080/<br />
For transpiled site: http://www.[project-name(string)].app
</p>

<strong>Credits</strong><br />
<p>angular2-webpack: https://github.com/preboot/angular2-webpack</p>

<strong>License</strong><br />
<p><a href="https://raw.githubusercontent.com/ssglopes/angular2-project-starter/master/LICENSE">MIT</a></p>
<commit_msg>fixes<commit_after># angular2-project-starter

<strong>Installation</strong><br />
<p>Make sure before executing the command below that /var/www is writable.<br />
The command will download a .sh script and execute it.</p>

<strong>What does the script?</strong><br />
<p>
The script creates an app directory inside /var/www if it's not created.
It will also install a virtual host into the /etc/apache2 directory if the app.conf is not found.
It will add the projectname to the /etc/hosts file.
It will start download all required files needed for the angular 2 project inside /var/www/app/[project-name(string)]/
</p>
<p>
The script can be executed again to just use a different version of bootstrap eg. 3 or 4. 
In this case it will modify some files and remove package not longer needed followed by downloading required packages from npm.
</p>
<ul>
<li>Replace [project-name(string)] below with the project name.</li>
<li>Replace [bootstrap-version(int)] below with the bootstrap version to use for the project, either 3 or 4.</li>
</ul>
Open a terminal and execute:<br />
<code>wget https://raw.githubusercontent.com/ssglopes/angular2-project-starter/master/install.angular2.project.sh -P /var/www/ && chmod +x /var/www/install.angular2.project.sh && ./install.angular2.project.sh [project-name(string)] [bootstrap-version(int)]</code>

<p>
After execution has finished open a browser and go to either:<br />
For developement against webpack server: http://localhost:8080/<br />
For transpiled site: http://www.[project-name(string)].app
</p>

<strong>Credits</strong><br />
<p>angular2-webpack: https://github.com/preboot/angular2-webpack</p>

<strong>License</strong><br />
<p><a href="https://raw.githubusercontent.com/ssglopes/angular2-project-starter/master/LICENSE">MIT</a></p>

{'fraction_non_alphanumeric': 0.13043478260869565, 'fraction_numerical': 0.010033444816053512, 'mean_word_length': 4.634222919937206, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 6, 'lorem ipsum': 0, 'www.': 12, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1477384', 'n_tokens_mistral': 1108, 'n_tokens_neox': 1067, 'n_words': 388}