<commit_before>base
====

Base is my basic setup for either a static site or a small node+express site
and includes all the development goodies I use most frequently. At present,
this is Bootstrap, React, jQuery and lodash.

To adapt the setup to the particular need, I typically just delete the items
needed. For instance, if I don’t need the bootstrap js, then I can often also
delete jQuery and I’ll show that adaptation in the guide below.

## Installation

This is intended for primarily development use, and I use a mac, so these
instructions are tested in that environment, but *should* work on other
platforms as well, since it’s all based on node+npm.

### Node / NPM

Install the latest version of stable node and npm from the [nodejs website]
(http://nodejs.org/). (Stable versions are even numbered, e.g. `0.10` rather
than `0.11`.) There are binaries or you can install from source, whatever you like.

### Cloning Base

The following assumes you’ll be using a git repo for your final code, storing
it at some hosted service like GitHub.

1. In the enclosing folder where you want your repository, clone base and replace
[your-new-repo-name] with the folder name you want for the repository. (It often
matches the repository name.)

`$ git clone <EMAIL>:mckelvey/base.git [your-new-repo-name]`

2. Once cloning is complete, enter the repo and set the remote origin to your<commit_msg>updating readme install notes to include the font lib requirements<commit_after>base
====

Base is my basic setup for either a static site or a small node+express site
and includes all the development goodies I use most frequently. At present,
this is Bootstrap, React, jQuery and lodash.

To adapt the setup to the particular need, I typically just delete the items
needed. For instance, if I don’t need the bootstrap js, then I can often also
delete jQuery and I’ll show that adaptation in the guide below.

## Installation

This is intended for primarily development use, and I use a mac, so these
instructions are tested in that environment, but *should* work on other
platforms as well, since it’s all based on node+npm.

### Node / NPM

Install the latest version of stable node and npm from the [nodejs website]
(http://nodejs.org/). (Stable versions are even numbered, e.g. `0.10` rather
than `0.11`.) There are binaries or you can install from source, whatever you like.

In order to use uncss (which includes PhantomJS) on a Ubuntu (and any *nix probably)
system, you’ll need to install libfreetype6 and fontconfig via your matching
package management system. Otherwise, you shouldn’t need these additional libs.

### Cloning Base

The following assumes you’ll be using a git repo for your final code, storing
it at some hosted service like GitHub.

1. In the enclosing folder where you want your repository, clone base and replace
[your-new-repo-name] with the folder name you want for the repository. (It often
matches the repository name.)

`$ git clone <EMAIL>@github.com:mckelvey/base.git [your-new-repo-name]`

2. Once cloning is complete, enter the repo and set the remote origin to your
{'fraction_non_alphanumeric': 0.06288294098677846, 'fraction_numerical': 0.005482102547565301, 'mean_word_length': 4.329896907216495, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1233540', 'n_tokens_mistral': 851, 'n_tokens_neox': 820, 'n_words': 484}