<commit_before># Autora
Collective community creative writing.

Autora is a collective creative writing experiment. Propose a poem or a story. Submit a word or a line. Read and vote on other people's submissions. Watch a story grow or read completed projects, and share them with your friends!
Join the Autora experiment.

Autora is currently an Ember app served by Express.js server. Data are stored and fetched from Firebase. Fortunately in Ember apps, there is a good separation of concerns so you may help us even if you have no experience with Ember.

To contribute to this project it is important to have basic knowledge of tooling and Git. You will need to fork the Autora project on Github. Clone your fork to your computer. Run the local Ember app, make changes, push them to your forked repository and make pull requests to our main repository. If these things are new to you, contact us and we can give you some guidance.

**If you are coder**, you can:

* Help us with writing global SCSS
* Write SCSS to make the app more responsive
* Write templates for routes
* Write templates and SCSS for components
 * Ember uses HTMLBars for templating, basicly updated version of Handlebars. It iis very easy to understand and the key parts will probably be prefilled by an Ember developer anyway so you can just end up writing HTML.
 * Some of our SCSS patterns are inspired by Semantic UI.

See the handlebars guide here: http://guides.emberjs.com/v1.13.0/templates/handlebars-basics/

**If you know Ember**, you can help us however you want to make the Ember app more awesome!

**If you know Node.js well**, you can:

* Improve our little Express.js backend
* Create various CRON jobs

**If you know Firebase**, you can:

* Write security rules, validations for us! (We really need this at the moment :))

Or **just fork the the repo** and see for yourself if there is any way for you to help us!





# Ember app install


## Prerequisites

You will need the following things properly installed on your computer.

* [Git](http://git-scm.com/)
* [Node.js](http://nodejs.org/) (with NPM)
* [Bower](http://bower.io/)
* [Ember CLI](http://www.ember-cli.com/)
* [PhantomJS](http://phantomjs.org/)

## Installation

* `git clone <repository-url>` this repository
* change into the ember app directory `cd autora/webapp/client/`
* `npm install`
* `bower install`

## Running / Development

* `ember server`
* Visit your app at [http://localhost:4200](http://localhost:4200).

### Running Tests

* `ember test`
* `ember test --server`

### Building

* `ember build` (development)
* `ember build --environment production` (production)

## Further Reading / Useful Links

* [ember.js](http://emberjs.com/)
* [ember-cli](http://www.ember-cli.com/)
* Development Browser Extensions
  * [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
  * [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)


#Running the landing page and express server locally

Additional prerequisites: Grunt-cli

* Navigate to root 'cd autora'
* `npm install`
* `bower install`
* `npm start` - to start the server
* `grunt watch` - to compile assets on the go<commit_msg>Update install insructions in the Readme<commit_after># Autora
Collective community creative writing.

Autora is a collective creative writing experiment. Propose a poem or a story. Submit a word or a line. Read and vote on other people's submissions. Watch a story grow or read completed projects, and share them with your friends!
Join the Autora experiment.

Autora is currently an Ember app served by Express.js server. Data are stored and fetched from Firebase. Fortunately in Ember apps, there is a good separation of concerns so you may help us even if you have no experience with Ember.

To contribute to this project it is important to have basic knowledge of tooling and Git. You will need to fork the Autora project on Github. Clone your fork to your computer. Run the local Ember app, make changes, push them to your forked repository and make pull requests to our main repository. If these things are new to you, contact us and we can give you some guidance.

**If you are coder**, you can:

* Help us with writing global SCSS
* Write SCSS to make the app more responsive
* Write templates for routes
* Write templates and SCSS for components
 * Ember uses HTMLBars for templating, basicly updated version of Handlebars. It iis very easy to understand and the key parts will probably be prefilled by an Ember developer anyway so you can just end up writing HTML.
 * Some of our SCSS patterns are inspired by Semantic UI.

See the handlebars guide here: http://guides.emberjs.com/v1.13.0/templates/handlebars-basics/

**If you know Ember**, you can help us however you want to make the Ember app more awesome!

**If you know Node.js well**, you can:

* Improve our little Express.js backend
* Create various CRON jobs

**If you know Firebase**, you can:

* Write security rules, validations for us! (We really need this at the moment :))

Or **just fork the the repo** and see for yourself if there is any way for you to help us!





# Instructions

* `git clone https://github.com/asm-products/autora` - get this repository

# Running Ember app locally

## Prerequisites

You will need the following things properly installed on your computer.

* [Git](http://git-scm.com/)
* [Node.js](http://nodejs.org/) (with NPM)
* [Bower](http://bower.io/)
* [Ember CLI](http://www.ember-cli.com/)
* [PhantomJS](http://phantomjs.org/)

## Installation

* change into the ember app directory `cd autora/webapp/client/`
* `npm install`
* `bower install`

## Running / Development

* `ember server`
* Visit your app at [http://localhost:4200](http://localhost:4200).

### Running Tests

* `ember test`
* `ember test --server`

### Building

* `ember build` (development)
* `ember build --environment production` (production)

## Further Reading / Useful Links

* [ember.js](http://emberjs.com/)
* [ember-cli](http://www.ember-cli.com/)
* Development Browser Extensions
  * [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
  * [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)


#Running the landing page and express server locally

Additional prerequisites: Grunt-cli

* Navigate to root `cd autora`
* `npm install`
* `bower install`
* `npm start` - to start the server
* `grunt watch` - to compile assets on the go
{'fraction_non_alphanumeric': 0.09053622968251557, 'fraction_numerical': 0.0036457542154033117, 'mean_word_length': 4.192429022082019, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 5, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2290080', 'n_tokens_mistral': 1923, 'n_tokens_neox': 1850, 'n_words': 873}