<commit_before><b>Using Docker with Arogi-Demos</b>  
<hr />

*Prerequisite*  

- Install docker. Their webpage has [instructions](https://docs.docker.com/engine/installation/).

- Go to your computer's Terminal shell prompt.
    *Linux Users*
    - You don't need to do anything further.
    *OS X users*
    - You need to make sure that the docker virtual machine is attached to your terminal. Run the following commands:
      `docker-machine start` #This will ensure the vm is running. If you are sure it is you can skip this step.
      `docker-machine env && eval $(docker-machine env)`
    *Windows Users*
    - You need to make sure that the docker virtual machine is attached to your terminal. Run the following commands:
      `TBD` #I need to test this on Windows and list the proper syntax.

*Getting Started*

 1. Type: `docker pull arogi/circuit-web`  
    to grab the latest Arogi docker image.

 2. Type: `docker run -it -p 80:80 -d -v ~/repos/arogi-demos/:/var/www/html arogi/circuit-web`  
    In that statement, replace `~/repos/arogi-demos/` with the pathname to your local repository. This assumes a Unix based home directory - for Windows based machines you may need something like `-v /c/Users/My\ User\ Name/repos:`. This tells the container we are creating to map your working local repo location to be within the docker container.

 3. Type `localhost`  
    in your browser address bar to play with the demos. Note that on Mac OS X and Windows this address is likely to be `192.168.99.100`

  *Shutting Down*  

 1. You can return to your local machine's command prompt by pressing `ctrl-p` followed by `ctrl-q`.

 2. Type: `docker ps -a`  
    to see a list of all local docker containers. Note the name it gives as a label. It often is something like: `silly_tonsils`.

 3. Type: `docker stop container_name` to stop docker. Note: You can restart again if you like with `docker start docker_name`.

 4. If you want to remove the container, type: `docker rm container_name`.

 5. To remove the image, type: `docker rmi image_name` (e.g., `docker rmi arogi/circuit-web`)

  *Extra Options*

  The steps above are sufficient to start your own arogi local web host.  However, if you wish to play around with the image you can do so as follows:

 1. Type: `docker ps -a`<commit_msg>fixed some formatting issues<commit_after><b>Using Docker with Arogi-Demos</b>  
<hr />

*Prerequisite*  

- Install docker. Their webpage has [instructions](https://docs.docker.com/engine/installation/).

- Go to your computer's Terminal shell prompt.
    - *Linux Users*
      - You don't need to do anything further.
    - *OS X users*
      - You need to make sure that the docker virtual machine is attached to your terminal. Run the following commands:
        - `docker-machine start` #This will ensure the vm is running. If you are sure it is you can skip this step.
        - `docker-machine env && eval $(docker-machine env)`
    - *Windows Users*
      - You need to make sure that the docker virtual machine is attached to your terminal. Run the following commands:
        - `TBD` #I need to test this on Windows and list the proper syntax.

*Getting Started*

 1. Type: `docker pull arogi/circuit-web`  
    to grab the latest Arogi docker image.

 2. Type: `docker run -it -p 80:80 -d -v ~/repos/arogi-demos/:/var/www/html arogi/circuit-web`  
    In that statement, replace `~/repos/arogi-demos/` with the pathname to your local repository. This assumes a Unix based home directory - for Windows based machines you may need something like `-v /c/Users/My\ User\ Name/repos:`. This tells the container we are creating to map your working local repo location to be within the docker container.

 3. Type `localhost`  
    in your browser address bar to play with the demos. Note that on Mac OS X and Windows this address is likely to be `192.168.99.100`

  *Shutting Down*  

 1. You can return to your local machine's command prompt by pressing `ctrl-p` followed by `ctrl-q`.

 2. Type: `docker ps -a`  
    to see a list of all local docker containers. Note the name it gives as a label. It often is something like: `silly_tonsils`.

 3. Type: `docker stop container_name` to stop docker. Note: You can restart again if you like with `docker start docker_name`.

 4. If you want to remove the container, type: `docker rm container_name`.

 5. To remove the image, type: `docker rmi image_name` (e.g., `docker rmi arogi/circuit-web`)

  *Extra Options*

  The steps above are sufficient to start your own arogi local web host.  However, if you wish to play around with the image you can do so as follows:

 1. Type: `docker ps -a`
{'fraction_non_alphanumeric': 0.081702859600086, 'fraction_numerical': 0.010320361212642442, 'mean_word_length': 3.206148282097649, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '317203', 'n_tokens_mistral': 1451, 'n_tokens_neox': 1305, 'n_words': 684}