<commit_before># [WABI-SABI](https://github.com/urchinly/wabi-sabi) - Digital Asset Management

Wabi and sabi are two of the key Japanese aesthetic concepts. Their definitions are not exact, but one can get a sense of them from a short discussion of them. Over time, the two have been combined to form a new word, wabi-sabi, meaning an aesthetic sensibility which includes these two related ideas.

Open source Digital Asset Management platform of great simplicity and beauty.

## Wabi [![Build Status](https://travis-ci.org/urchinly/wabi.svg?branch=master)](https://travis-ci.org/urchinly/wabi)

Wabi means things that are fresh and simple. It denotes simplicity and quietude, and also incorporates rustic beauty. It includes both that which is made by nature, and that which is made by man. It also can mean an accidental or happenstance element (or perhaps even a small flaw) which gives elegance and uniqueness to the whole, such as the pattern made by a flowing glaze on a ceramic object.

Wabi modules form the core components of our digital asset management solution.

## [Sabi](https://github.com/urchinly/sabi) [![Build Status](https://travis-ci.org/urchinly/sabi.svg?branch=master)](https://travis-ci.org/urchinly/sabi)

Sabi means things whose beauty stems from age. It refers to the patina of age, and the concept that changes due to use may make an object more beautiful and valuable. This also incorporates an appreciation of the cycles of life, as well as careful, artful mending of damage.

Sabi modules form the custom components of our digital asset management solution.

### Build and run locally

First we build the Docker containers for our third-party services RabbitMQ, ElasticSearch and MongoDB. Next we build the platform micro-services as Docker containers.
To start the application we use Docker Compose. Test the application by uploading a file to _http://localhost:8081/upload_ and verify with downloading the file from _http:localhost:8082/assets_.

- Maven 3.2
- Java 8
- Docker 1.10

```
./elasticsearch/build.sh
./rabbitmq/build.sh
./wabi-portal/build.sh

mvn clean install -P prod

./wabi-ingest/mvn docker:build
./wabi-expose/mvn docker:build
./wabi-search/mvn docker:build

docker-compose up
```

### Run Docker images in the Docker Cloud

[![Deploy to Docker Cloud](https://files.cloud.docker.com/images/deploy-to-dockercloud.svg)](https://cloud.docker.com/stack/deploy/)

### Maven Tips

Build a module

* `mvn clean install`

Run a module

* `mvn spring-boot:run`

* `mvn spring-boot:run -DskipTests`

* `mvn clean install && java -jar target/wabi-*.jar`

Create Docker image

* `mvn clean install -P prod && mvn docker:build`

Check and format licence headers across the project

* `mvn license:check`

* `mvn license:format`

Check for latest versions

* `mvn versions:display-dependency-updates`<commit_msg>Updated readme.<commit_after># [WABI-SABI](https://github.com/urchinly/wabi-sabi) - Digital Asset Management

Wabi and sabi are two of the key Japanese aesthetic concepts. Their definitions are not exact, but one can get a sense of them from a short discussion of them. Over time, the two have been combined to form a new word, wabi-sabi, meaning an aesthetic sensibility which includes these two related ideas.

Open source Digital Asset Management platform of great simplicity and beauty.

## Wabi [![Build Status](https://travis-ci.org/urchinly/wabi.svg?branch=master)](https://travis-ci.org/urchinly/wabi)

Wabi means things that are fresh and simple. It denotes simplicity and quietude, and also incorporates rustic beauty. It includes both that which is made by nature, and that which is made by man. It also can mean an accidental or happenstance element (or perhaps even a small flaw) which gives elegance and uniqueness to the whole, such as the pattern made by a flowing glaze on a ceramic object.

Wabi modules form the core components of our digital asset management solution.

## [Sabi](https://github.com/urchinly/sabi) [![Build Status](https://travis-ci.org/urchinly/sabi.svg?branch=master)](https://travis-ci.org/urchinly/sabi)

Sabi means things whose beauty stems from age. It refers to the patina of age, and the concept that changes due to use may make an object more beautiful and valuable. This also incorporates an appreciation of the cycles of life, as well as careful, artful mending of damage.

Sabi modules form the custom components of our digital asset management solution.

### Build and run locally

First we build the Docker containers for our third-party services RabbitMQ, ElasticSearch and MongoDB. Next we build the platform micro-services as Docker containers.
To start the application we use Docker Compose. Test the application by uploading a file to _http://localhost:8081/upload_ and verify with downloading the file from _http:localhost:8082/assets_.

- Maven 3.2
- Java 8
- Docker 1.10

```
./elasticsearch/build.sh
./rabbitmq/build.sh
./wabi-portal/build.sh

mvn clean install -P prod

./wabi-ingest/mvn docker:build
./wabi-expose/mvn docker:build
./wabi-search/mvn docker:build

docker-compose up
```

### Run wabi images in the Docker Cloud

[![Deploy to Docker Cloud](https://files.cloud.docker.com/images/deploy-to-dockercloud.svg)](https://cloud.docker.com/stack/deploy/)

### Maven Tips

Build a module

* `mvn clean install`

Run a module

* `mvn spring-boot:run`

* `mvn spring-boot:run -DskipTests`

* `mvn clean install && java -jar target/wabi-*.jar`

Create Docker image

* `mvn clean install -P prod && mvn docker:build`

Check and format licence headers across the project

* `mvn license:check`

* `mvn license:format`

Check for latest versions

* `mvn versions:display-dependency-updates`
{'fraction_non_alphanumeric': 0.08687258687258688, 'fraction_numerical': 0.004914004914004914, 'mean_word_length': 4.401895734597156, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, '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': '276831', 'n_tokens_mistral': 1707, 'n_tokens_neox': 1623, 'n_words': 706}