<commit_before>#!/usr/bin/env bash
set -e;

sudo mkdir -p /etc/andino/

docker pull datosgobar/portal-andino:development-postgresql && \
        docker pull datosgobar/portal-andino:development-solr && \
        docker pull redis:3.2.7-alpine && \
        docker pull rabbitmq:3.6.6-alpine && \
        docker pull catatnight/postfix && \
        docker pull datosgobar/portal-andino:development-andino && \
        docker pull datosgobar/portal-andino:development-nginx;

docker run -d --name andino-postgresql datosgobar/portal-andino:development-postgresql && \
    docker run -d --name andino-solr datosgobar/portal-andino:development-solr && \
    docker run -d --name andino-redis redis:3.2.7-alpine && \
    docker run -d --name andino-rabbitmq -h rabbitmq rabbitmq:3.6.6-alpine && \
    docker run -d --name andino-postfix -p 25:25 -p 587:587 catatnight/postfix && \
    docker run -d --name andino -p 8800:8800 \
        --link andino-postgresql:db --link andino-solr:solr \
        --link andino-redis:redis --link andino-rabbitmq:rabbitmq \
        --link andino-postfix:postfix \
        datosgobar/portal-andino:development-andino && \
    docker run -d --name andino-nginx -p 80:80 --link andino:andino datosgobar/portal-andino:development-nginx;

# init database
docker exec andino /etc/ckan_init.d/init_db.sh

# Run Harvest
docker run -d --name andino-harvest datosgobar/portal-andino:development-andino \
        --link andino-postgresql:db --link andino-solr:solr \
        --link andino-redis:redis --link andino-rabbitmq:rabbitmq \
        --link andino-postfix:postfix \
        datosgobar/portal-andino:development-andino /etc/ckan_init.d/start_cron.sh<commit_msg>Actualizo la documentacion para produccion<commit_after>#!/usr/bin/env bash
set -e;

sudo mkdir -p /etc/andino/

sudo su -c "curl -sSL https://raw.github.com/datosgobar/portal-andino/lasted.yml | sh"
docker-compose -f lasted.yml up -d nginx

# init database
docker exec andino /etc/ckan_init.d/init_db.sh

# Run Harvest
docker-compose -f lasted.tml up -d start_harvest
{'fraction_non_alphanumeric': 0.12512171372930866, 'fraction_numerical': 0.016553067185978577, 'mean_word_length': 2.944337811900192, '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': '7415000', 'n_tokens_mistral': 813, 'n_tokens_neox': 744, 'n_words': 157}