<commit_before>gorillaseed
============

A simple seed project for a single page web app written with [**Angular**](https://angularjs.org/), [**Require**](http://requirejs.org/)
and [**SCSS**](http://sass-lang.com/) on the client side and [**Go**](http://golang.org/) with [**Gorilla Toolkit**](http://www.gorillatoolkit.org/)
on the server side. The seed project comes chock full with goodies:

* Automated build tasks
* Server side unit tests
* Client side unit tests
* End-to-End tests

##Setup Checklist

1. Install:
    * [Go](http://golang.org/)
    * [Node](https://nodejs.org/)
    * [Ruby](https://www.ruby-lang.org)
        * [Compass](http://compass-style.org/)

2. Create the directory `$GOPATH/github.com/0xor1/gorillaseed` and check this repo out into it

3. `cd` to `$GOPATH/github.com/0xor1/gorillaseed` and run:
    ```sh
        npm install
        npm install -g grunt-cli
    ```

4. Local request redirection is required, for local development, ([Fiddler](http://www.telerik.com/fiddler) is a good tool for this) to send `gorillaseed.net` to `127.0.0.1:8080`

##Common Tasks

There is a grunt task to cover all the basic requirements of development, run the following commands as `grunt <cmd>`:

* `buildServer` will build the server and copy the resulting server.exe to `build\server`
* `buildClient` will write the index.html file to `build\client` with the compiled and minified js inlined and stripped of its amd loading code
* `buildAll` is a convenience command that simply chains the above commands.

...More coming soon...<commit_msg>add checklist of tasks todo<commit_after>gorillaseed
============

A simple seed project for a single page web app written with [**Angular**](https://angularjs.org/), [**Require**](http://requirejs.org/)
and [**SCSS**](http://sass-lang.com/) on the client side and [**Go**](http://golang.org/) with [**Gorilla Toolkit**](http://www.gorillatoolkit.org/)
on the server side. The seed project is configured as a true single page web app in that the build scripts will concat and minify all
the css and js files and then inline them into the index.html file. The seed project comes chock full with goodies:

* Automated build and testing tasks
* Server side unit tests
* Client side unit tests
* End-to-End tests

##Setup Checklist

1. Install:
    * [Go](http://golang.org/)
    * [Node](https://nodejs.org/)
    * [Ruby](https://www.ruby-lang.org)
        * [Compass](http://compass-style.org/)

2. Create the directory `$GOPATH/github.com/0xor1/gorillaseed` and check this repo out into it

3. `cd` to `$GOPATH/github.com/0xor1/gorillaseed` and run:
    ```sh
        npm install
        npm install -g grunt-cli
    ```

4. Local request redirection is required, for local development, ([Fiddler](http://www.telerik.com/fiddler) is a good tool for this) to send `gorillaseed.net` to `127.0.0.1:8080`

##Common Tasks

There is a grunt task to cover all the basic requirements of development, run the following commands as `grunt <cmd>`:

* `buildServer` will build the server and copy the resulting server.exe to `build\server`
* **TODO** ~~`testServer` will run all the server unit tests and drop the results and coverage reports in `test\unit\server`~~
* **TODO** ~~`cleanServer` will delete all generated files from running `buildServer` and `testServer`~~


* `buildClient` will write the index.html file to `build\client` with the compiled and minified js inlined and stripped of its AMD loading code
* **TODO** ~~`testClient` will run all the client unit tests and drop the results and coverage reports in `test\unit\client`~~
* **TODO** ~~`cleanClient` will delete all generated files from running `buildClient` and `testClient`~~


* **TODO** ~~`testE2e` will run all the end to end tests and drop the results and coverage reports in `test\e2e`~~
* **TODO** ~~`cleanE2e` will delete all generated files from running `testE2e`~~


* **TODO** ~~`runDev` will start the server.exe in the src directory~~
* **TODO** ~~`runBuild` will start the server.exe in the build directory~~


* `buildAll` is a convenience command that simply chains `buildServer` and `buildClient`
* **TODO** ~~`testAll` is a convenience command that simply chains `testServer`, `testClient`, `testE2e`~~
* **TODO** ~~`cleanAll` is a convenience command that simply chains `cleanServer`, `cleanClient`, `cleanE2e`~~
{'fraction_non_alphanumeric': 0.13504823151125403, 'fraction_numerical': 0.00964630225080386, 'mean_word_length': 4.253317249698432, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 2, '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': '6730324', 'n_tokens_mistral': 1366, 'n_tokens_neox': 1320, 'n_words': 520}