<commit_before># teamform-seed
## The seed project for the team forming web application

### Pre-requisites

Install git: [http://git-scm.com/](http://git-scm.com/).

Install node.js and npm: [http://nodejs.org/](http://nodejs.org/).
Commands to test the installation:

```
git --version
node -v
npm -v
```

### Clone the project
<commit_msg>Update readme for setting up firebase and facebook login<commit_after># teamform-seed
## The seed project for the team forming web application

### Pre-requisites

Install git: [http://git-scm.com/](http://git-scm.com/).

Install node.js and npm: [http://nodejs.org/](http://nodejs.org/).
Commands to test the installation:

```
git --version
node -v
npm -v
```

#### Setup Firebase
- In app/config/env.js, insert your firebase information to connect the application to your firebase project

#### Setup Facebook login
1. Enter [facebook developer console](https://developers.facebook.com), create a new facebook app
2. In Firebase console, <b>Authentication->Login Methods->Facebook</b>, enable facebook authentication
3. In Facebook app dashboard, copy the AppID and App Secret to Firebase console <b>Authentication->Login Methods->Facebook</b>
4. In Facebook app dashboard, <b>+Add Product</b>, add Facebook Login product
5. Copy the OAuth redirect URI in Firebase console, <b>Authentication->Login Methods->Facebook</b>, to Facebook app dashboard <b>Facebook Login->Settings->Client OAuth Settings->Valid OAuth redirect URIs</b>, the uri should be in the format of <b>https://[YOUR-FIREBASE-PROJECT-NAME].firebaseapp.com/__/auth/handler</b>
6. In Facebook app dashboard, <b>App Review</b>, make sure you make the facebook app public

### Clone the project

{'fraction_non_alphanumeric': 0.13278495887191538, 'fraction_numerical': 0.0035252643948296123, 'mean_word_length': 4.547231270358306, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 26, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2510678', 'n_tokens_mistral': 519, 'n_tokens_neox': 489, 'n_words': 187}