<commit_before># memoria

![and i swear that i...](http://i.imgur.com/yUUFcNq.jpg)

## Dependencies

- PostgreSQL
- JDK 1.8

## Installation

- Clone the project.
- Create the databases:

```
createdb memoria_dev
createdb memoria_test
```

- Migrate the database

## Running the Ring server

```
lein trampoline ring server
```

```
brew install leiningen
createdb memoria_test
createdb memoria_dev
lein deps
```

Run migrations, in REPL:

```
(require '[memoria.db :as db])
(db/migrate-db)
(db/migrate-db :test)
```

Run development server

```
lein trampoline ring server
```

## Testing

In REPL (example)

```
(use 'memoria.entities.cards-test :reload)
(run-tests 'memoria.entities.cards-test)
```

## Usage

FIXME: explanation

    $ java -jar memory_lane-0.1.0-standalone.jar [args]

## Options

FIXME: listing of options this app accepts.

## Examples

...

### Bugs

...

### Any Other Sections
### That You Think
### Might be Useful

## License

Copyright © 2015 Funding Circle Ltd.

Distributed under the BSD 3-Clause License.<commit_msg>Add info abut the frontend libraries in the README<commit_after># memoria

![and i swear that i...](http://i.imgur.com/yUUFcNq.jpg)

## Dependencies

- PostgreSQL
- JDK 1.8
- NodeJS (if you need to change/update SemanticUI)
- Gulp (if you need to change/update SemanticUI)

## Installation

- Create the databases:
```
createdb memoria_dev
createdb memoria_test
```

- Migrate the database (using a REPL session)

```clojure
(require '[memoria.db :as db])
(migrate-db)
(migrate-db :test)
```

## Running the Ring server

```
lein trampoline ring server
```

## Running lein-figwheel

```
lein figwheel dev
```

## Testing

In REPL (example)

```clojure
(use 'memoria.entities.cards-test :reload)
(run-tests 'memoria.entities.cards-test)
```

## If you need to change/update SemanticUI

Follow the instructions in the [SemanticUI documentation](http://semantic-ui.com/introduction/getting-started.html)

## License

Copyright © 2015 Funding Circle Ltd.

Distributed under the BSD 3-Clause License.
{'fraction_non_alphanumeric': 0.13454011741682975, 'fraction_numerical': 0.008317025440313111, 'mean_word_length': 4.074441687344913, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6898875', 'n_tokens_mistral': 759, 'n_tokens_neox': 703, 'n_words': 212}