<commit_before># _Giggs_ [![Build Status](https://travis-ci.org/MozMorris/giggs.svg?branch=master)](https://travis-ci.org/MozMorris/giggs) [![Coverage Status](https://coveralls.io/repos/MozMorris/giggs/badge.png)](https://coveralls.io/r/MozMorris/giggs)

_Giggs combines [Create.js](http://createjs.org/) and Sinatra. It's a great starting point for building websites where the content can be edited in-line. No more "Edit - Preview - Publish"._

[Here's the demo.](http://giggs.herokuapp.com/) Sign in with ***<EMAIL>*** and ***password***

Giggs also comes with the tools you'd expect from a modern development workflow. Its [Grunt](http://gruntjs.com/) configuration follows that of the [generator-webapp](https://github.com/yeoman/generator-webapp) project. It's been slightly modified to work with servers like Pow & Unicorn.

## Project Setup

_How do I start working on the project?_

1. Copy the sample `.sample.env` and update it.  
`$ cp .sample.env .env`  

2. Install dependencies.  
`$ bundle install & npm install & bower install`  

3. Run the migrations and seed the db with some data.  
`$ rake db:migrate && rake db:seed`  

4. Compile and watch assets.  
`$ grunt serve`

5. Run your usual rack web server. This example uses the [Powder ](https://github.com/rodreegez/powder) gem to run [Pow](http://pow.cx/).
`$ powder link && powder up`

## Testing

_How do I run the project's automated tests?_

### Specs
<commit_msg>Readme formatting.<commit_after># _Giggs_ [![Build Status](https://travis-ci.org/MozMorris/giggs.svg?branch=master)](https://travis-ci.org/MozMorris/giggs) [![Coverage Status](https://coveralls.io/repos/MozMorris/giggs/badge.png)](https://coveralls.io/r/MozMorris/giggs)

_Giggs combines [Create.js](http://createjs.org/) and Sinatra. It's a great starting point for building websites where the content can be edited in-line. No more "Edit - Preview - Publish"._

[Here's the demo.](http://giggs.herokuapp.com/) Sign in with ***<EMAIL>*** and ***password***

Giggs also comes with the tools you'd expect from a modern development workflow. Its [Grunt](http://gruntjs.com/) configuration follows that of the [generator-webapp](https://github.com/yeoman/generator-webapp) project. It's been slightly modified to work with servers like Pow & Unicorn.

## Project Setup

_How do I start working on the project?_

1. Copy the sample `.sample.env` and update it.  
`$ cp .sample.env .env`  

2. Install dependencies.  
`$ bundle install & npm install & bower install`  

3. Run the migrations and seed the db with some data.  
`$ rake db:migrate && rake db:seed`  

4. Compile and watch assets.  
`$ grunt serve`

5. Run your usual rack web server. This example uses the [Powder ](https://github.com/rodreegez/powder) gem to run [Pow](http://pow.cx/).  
`$ powder link && powder up`

## Testing

_How do I run the project's automated tests?_

### Specs

{'fraction_non_alphanumeric': 0.1368202286110149, 'fraction_numerical': 0.0034638032559750607, 'mean_word_length': 4.09347442680776, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 12, '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': '6213689', 'n_tokens_mistral': 981, 'n_tokens_neox': 945, 'n_words': 313}