<commit_before>SFM Docker
----------

Provides docker-compose.yml files for deploying [Social Feed Manager](https://gwu-libraries.github.io/sfm-ui).

For instructions for deploying SFM using Docker, see [the docs](http://sfm.readthedocs.org/en/latest/install.html).

Smoke tests
===========

1. Start an SFM instance using Docker.

        docker-compose -f master.docker-compose.yml up -d

2. Pull the smoke test container.

        docker pull gwul/sfm-docker-smoke
        
3. Run the tests.

        docker run --rm --link sfmdocker_sfmmasterrabbit_1:mq --link sfmdocker_sfmmasterapp_1:ui gwul/sfm-docker-smoke

Notes:

* The container names should be consistent (e.g., `sfmdocker_sfmmasterrabbit_1`).  However, if they're not get the
   correct names using `docker ps`.
* While developing new tests, share a volume that contains the code.  For example, add 
   `--volume ~/sfm-docker:/opt/sfm-test` to `docker run`.
 
*Each new component should add at least one test to verify that it is up and running.*<commit_msg>fixing link to github pages site<commit_after>SFM Docker
----------

Provides docker-compose.yml files for deploying [Social Feed Manager](http://gwu-libraries.github.io/sfm-ui).

For instructions for deploying SFM using Docker, see [the docs](http://sfm.readthedocs.org/en/latest/install.html).

Smoke tests
===========

1. Start an SFM instance using Docker.

        docker-compose -f master.docker-compose.yml up -d

2. Pull the smoke test container.

        docker pull gwul/sfm-docker-smoke
        
3. Run the tests.

        docker run --rm --link sfmdocker_sfmmasterrabbit_1:mq --link sfmdocker_sfmmasterapp_1:ui gwul/sfm-docker-smoke

Notes:

* The container names should be consistent (e.g., `sfmdocker_sfmmasterrabbit_1`).  However, if they're not get the
   correct names using `docker ps`.
* While developing new tests, share a volume that contains the code.  For example, add 
   `--volume ~/sfm-docker:/opt/sfm-test` to `docker run`.
 
*Each new component should add at least one test to verify that it is up and running.*
{'fraction_non_alphanumeric': 0.11262135922330097, 'fraction_numerical': 0.005825242718446602, 'mean_word_length': 3.3298319327731094, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '34593', 'n_tokens_mistral': 704, 'n_tokens_neox': 636, 'n_words': 226}