<commit_before>#!/bin/bash
set -e
source ${GRLC_RUNTIME_DIR}/functions

[[ $DEBUG == true ]] && set -x

map_uidgid

case ${1} in
  app:start)
    setup_nginx
    # initialize_system
    # configure_gitlab
    # configure_gitlab_shell
    # configure_nginx

    case ${1} in
      app:start)
        cd ${GRLC_INSTALL_DIR}
        gunicorn -c gunicorn_config.py src.server:app<commit_msg>config with compose access token<commit_after>#!/bin/bash
set -e
source ${GRLC_RUNTIME_DIR}/functions

[[ $DEBUG == true ]] && set -x

map_uidgid

case ${1} in
  app:start)
    setup_nginx
    # initialize_system
    # configure_gitlab
    # configure_gitlab_shell
    # configure_nginx

    case ${1} in
      app:start)
        cd ${GRLC_INSTALL_DIR}
        # put github's access_token in place
        cp config.default.ini config.ini
        sed -i "s/xxx/${GRLC_GITHUB_ACCESS_TOKEN}/" config.ini

        gunicorn -c gunicorn_config.py src.server:app
{'fraction_non_alphanumeric': 0.1071049840933192, 'fraction_numerical': 0.0042417815482502655, 'mean_word_length': 2.8847736625514404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3277510', 'n_tokens_mistral': 349, 'n_tokens_neox': 327, 'n_words': 73}