<commit_before>## Raison d'être

The Tenderloin tech lab has seen that while a lot of people in the Mid-Market area do not have access to computers, they do have relatively affordable access to mobile phones.

The platform has two goals:

1. Provide a city-wide consolidated database for storing and updating information about public services. Currently this information is very difficult to find and keep up-to-date.
1. Provide a mobile site that allows individuals to access and search for this information easily.

For example, if I'm a woman with two children and need temporary housing, I would want to be able to find the nearest women/children-only shelter that's open right now.

This is part of our Community Benefit Agreement with the city.

From Steven:
> On the surface, this seems like a straightforward database design exercise with a query interface, right? In the back of my mind, I think there's larger benefits here in understanding interest patterns in the demographic of the Mid-Market. What could you do as a city leader if you knew in real-time:
>
>- What resources people are searching for
>- Where they are searching from
>- What they ended up choosing

This will replace http://ttlsf.herokuapp.com/ which uses a [Google spreadsheet](https://docs.google.com/spreadsheet/ccc?key=0AkkJeKqc-HDpdE5INXRRYVdMVmd5ay15dm5LZEdPLWc#gid=0) for persistence.

## LinkSF

LinkSF is a Backbone.js application using Parse for our persistence and querying backend.

The current release is deployed to http://link-sf.com.

The original mockup is at http://f.cl.ly/items/2q1D093m3R3W2C3s3M40/TTL%20Mobile%20Resource.pdf.

### Setup

```
npm install
npm install -g grunt-cli
```

### Development

There is a `Gruntfile` that describes the available tasks.

`grunt` invokes verification and compilation. Output goes to static files that are included in build/index.html and build/admin.html.

`grunt watch` invokes verification and compilation when JavaScript, HTML, SCSS, and Handlebars file changes are detected.

```
grunt # Needed after cloning the repo or if `grunt watch` wasn't running, to pick lastest code changes.
open build/index.html
grunt watch
```

### Deploy<commit_msg>LinkSF -> Link-SF<commit_after>## <NAME>'être

The Tenderloin tech lab has seen that while a lot of people in the Mid-Market area do not have access to computers, they do have relatively affordable access to mobile phones.

The platform has two goals:

1. Provide a city-wide consolidated database for storing and updating information about public services. Currently this information is very difficult to find and keep up-to-date.
1. Provide a mobile site that allows individuals to access and search for this information easily.

For example, if I'm a woman with two children and need temporary housing, I would want to be able to find the nearest women/children-only shelter that's open right now.

This is part of our Community Benefit Agreement with the city.

From Steven:
> On the surface, this seems like a straightforward database design exercise with a query interface, right? In the back of my mind, I think there's larger benefits here in understanding interest patterns in the demographic of the Mid-Market. What could you do as a city leader if you knew in real-time:
>
>- What resources people are searching for
>- Where they are searching from
>- What they ended up choosing

This will replace http://ttlsf.herokuapp.com/ which uses a [Google spreadsheet](https://docs.google.com/spreadsheet/ccc?key=0AkkJeKqc-HDpdE5INXRRYVdMVmd5ay15dm5LZEdPLWc#gid=0) for persistence.

## Link-SF

Link-SF is a Backbone.js application using Parse for our persistence and querying backend.

The current release is deployed to http://link-sf.com.

The original mockup is at http://f.cl.ly/items/2q1D093m3R3W2C3s3M40/TTL%20Mobile%20Resource.pdf.

### Setup

```
npm install
npm install -g grunt-cli
```

### Development

There is a `Gruntfile` that describes the available tasks.

`grunt` invokes verification and compilation. Output goes to static files that are included in build/index.html and build/admin.html.

`grunt watch` invokes verification and compilation when JavaScript, HTML, SCSS, and Handlebars file changes are detected.

```
grunt # Needed after cloning the repo or if `grunt watch` wasn't running, to pick lastest code changes.
open build/index.html
grunt watch
```

### Deploy
{'fraction_non_alphanumeric': 0.0641259698767686, 'fraction_numerical': 0.011410314924691922, 'mean_word_length': 4.534090909090909, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2416290', 'n_tokens_mistral': 1241, 'n_tokens_neox': 1174, 'n_words': 597}