<commit_before># carpool Dockerfiles

## The two folders, nodeApp and pg-auto, contain the Dockerfiles and info to manually setup the docker dev environment.

## Ideally, these would be revised to have no manual steps and be part of a docker compose setup.

# install compose if necessary
# https://docs.docker.com/compose/install/
# sudo -i 
# curl -L https://github.com/docker/compose/releases/download/1.12.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose 
# sudo chmod +x /usr/local/bin/docker-compose

# http://stackoverflow.com/questions/32612650/how-to-get-docker-compose-to-always-re-create-containers-from-fresh-images
# https://github.com/docker/compose/issues/1049
# docker-compose -f ./compose/docker-compose-static-ip.yml up
# docker-compose -f ./compose/docker-compose-static-ip-dev.yml up
# docker-compose -f ./compose/docker-compose-static-ip-dev-build.yml up --build
# docker-compose -f ./compose/docker-compose-static-ip-dev-build.yml up --force-recreate
# docker-compose -f ./compose/docker-compose-static-ip-dev-build.yml up -d --force-recreate --remove-orphans

# clear<commit_msg>added notes<commit_after># carpool Dockerfiles

## The two folders, nodeApp and pg-auto, contain the Dockerfiles and info to manually setup the docker dev environment.
## A third folder contains a dockerfile for the jekyll frontend server

## Work is under way to revise this process remove manual steps and become a docker compose setup.

# cd .../voteUSbackend/docker

# install compose if necessary
# https://docs.docker.com/compose/install/
# sudo -i 
# curl -L https://github.com/docker/compose/releases/download/1.12.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose 
# sudo chmod +x /usr/local/bin/docker-compose

# http://stackoverflow.com/questions/32612650/how-to-get-docker-compose-to-always-re-create-containers-from-fresh-images
# https://github.com/docker/compose/issues/1049
# docker-compose -f ./compose/docker-compose-static-ip.yml up
# docker-compose -f ./compose/docker-compose-static-ip-dev.yml up
# docker-compose -f ./compose/docker-compose-static-ip-dev-build.yml up --build
# docker-compose -f ./compose/docker-compose-static-ip-dev-build.yml up --force-recreate
# docker-compose -f ./compose/docker-compose-static-ip-dev-build.yml up -d --force-recreate --remove-orphans

## clearing up for new builds (not a one-step process)

# clear
{'fraction_non_alphanumeric': 0.13887733887733889, 'fraction_numerical': 0.013305613305613306, 'mean_word_length': 3.812, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '6369213', 'n_tokens_mistral': 893, 'n_tokens_neox': 801, 'n_words': 189}