<commit_before># Osf-meetings

This README outlines the details of collaborating on this Ember application.
A short introduction of this app could easily go here.

## 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://ember-cli.com/) Installed when doing `npm install`
* [PhantomJS](http://phantomjs.org/)
* [Watchman](https://facebook.github.io/watchman/docs/install.html) Brew install

## Installation

* `git clone <repository-url>` this repository
* `git clone <ember-osf-repo>` [https://github.com/CenterForOpenScience/ember-osf](https://github.com/CenterForOpenScience/ember-osf).
* cd into the new directory
* `npm install`
* `bower install`
* `ember install ../ember-osf`
* `npm link ../ember-osf`

#### Django
##### API server for OSF_meetings_ember with permissions using django_guardian

#### Setup

1. `pip install -r requirements.txt`
2. `cd <to-meetings-folder>`
3. `run the bash script with ./script.sh. Passing in a number will create randomly generated test data into the database. 
    i.e. running ./script.sh 500 will create the database with 500 preloaded conferences.`
4. Visit the Django REST API interface at [http://localhost:8000](http://localhost:8000).
5. Visit the API docs at [http://localhost:8000/docs/](http://localhost:8000/docs/).

## Running Ember APP / Development

* `cd <to-root-of-repo>`
* `ember server`
* Visit your app at [http://localhost:4200](http://localhost:4200).

### Code Generators

Make use of the many generators for code, try `ember help generate` for more details

### Running Tests<commit_msg>Clean up<commit_after># Osf-meetings

This README outlines the details of collaborating on this Ember application.
A short introduction of this app could easily go here.

## 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://ember-cli.com/) Installed when doing `npm install`
* [PhantomJS](http://phantomjs.org/)
* [Watchman](https://facebook.github.io/watchman/docs/install.html) Brew install

## Installation

* `git clone <repository-url>` this repository
* `git clone <ember-osf-repo>` [https://github.com/CenterForOpenScience/ember-osf](https://github.com/CenterForOpenScience/ember-osf).
* cd into the new directory
* `npm install`
* `bower install`
* `ember install ../ember-osf`
* `npm link ../ember-osf`

#### Setup

1. `pip install -r requirements.txt`
2. `cd <to-meetings-folder>`
3. `run the bash script with ./script.sh. Passing in a number will create randomly generated test data into the database. 
    i.e. running ./script.sh 500 will create the database with 500 preloaded conferences.`
4. Visit the Django REST API interface at [http://localhost:8000](http://localhost:8000).
5. Visit the API docs at [http://localhost:8000/docs/](http://localhost:8000/docs/).

## Running Ember APP / Development

* `cd <to-root-of-repo>`
* `ember server`
* Visit your app at [http://localhost:4200](http://localhost:4200).

### Code Generators

Make use of the many generators for code, try `ember help generate` for more details

### Running Tests
{'fraction_non_alphanumeric': 0.14432057848749624, 'fraction_numerical': 0.021090689966857486, 'mean_word_length': 4.286624203821656, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 6, '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': '3762988', 'n_tokens_mistral': 1114, 'n_tokens_neox': 1004, 'n_words': 339}