<commit_before>#!/bin/bash


# Production Server -- Project Builder
# VERSION=0.94

## Warning - This is a bare-bones template file.
##     There are no functions written in here to
##      preserve your config files, or uploaded media.
##      It is expected that you will modify this script
##      so as to have it meet these esoteric needs.

## USAGE -- human instructions for a how to use:
# Assumption -- you want to use this script to build
#     a project (eg. adserver, datalogger, portal, etc.)
#     on a production server.
#
# 01. ssh into the production server
#
# 02. Have this project builder script already on the server repo,
#     with this current version with all of the current edits.
#     You might have to `git pull` in order to get it's repo up
#     to date. And get this script up-to-date
#
# 03. Get yourself into a tmux session -- this will allow your
#     command(s) to be executed regardless of your ssh connection
#     status
#
# 04. as the user 'winterwell':
#     cd into your project's repository
#     ./production.server.project.builder.sh
#     and answer the yes/no prompt when you are SURE that you
#     have gotten all of your ducks in a row.

####### Goal -- create a project building script (using git, bob, jerbil, maven, npm, and webpack as the tools)
## which uses very similar, if not, the exact same, functions as the teamcity builder template script.
PROJECT_NAME='datalogger' #This is simply a human readable name
GIT_REPO_URL='github.com:/sodash/open-code'
PROJECT_USES_BOB='yes'  #yes or no :: If 'yes', then you must also supply the name of the service which is used to start,stop,or restart the jvm
NAME_OF_SERVICE='lg' # This can be blank, but if your service uses a JVM, then you must put in the service name which is used to start,stop,or restart the JVM on the server.
PROJECT_USES_NPM='no' # yes or no
PROJECT_USES_WEBPACK='no' #yes or no<commit_msg>updating the repo url source<commit_after>#!/bin/bash


# Production Server -- Project Builder
# VERSION=0.94

## Warning - This is a bare-bones template file.
##     There are no functions written in here to
##      preserve your config files, or uploaded media.
##      It is expected that you will modify this script
##      so as to have it meet these esoteric needs.

## USAGE -- human instructions for a how to use:
# Assumption -- you want to use this script to build
#     a project (eg. adserver, datalogger, portal, etc.)
#     on a production server.
#
# 01. ssh into the production server
#
# 02. Have this project builder script already on the server repo,
#     with this current version with all of the current edits.
#     You might have to `git pull` in order to get it's repo up
#     to date. And get this script up-to-date
#
# 03. Get yourself into a tmux session -- this will allow your
#     command(s) to be executed regardless of your ssh connection
#     status
#
# 04. as the user 'winterwell':
#     cd into your project's repository
#     ./production.server.project.builder.sh
#     and answer the yes/no prompt when you are SURE that you
#     have gotten all of your ducks in a row.

####### Goal -- create a project building script (using git, bob, jerbil, maven, npm, and webpack as the tools)
## which uses very similar, if not, the exact same, functions as the teamcity builder template script.
PROJECT_NAME='datalogger' #This is simply a human readable name
GIT_REPO_URL='github.com:/good-loop/open-code'
PROJECT_USES_BOB='yes'  #yes or no :: If 'yes', then you must also supply the name of the service which is used to start,stop,or restart the jvm
NAME_OF_SERVICE='lg' # This can be blank, but if your service uses a JVM, then you must put in the service name which is used to start,stop,or restart the JVM on the server.
PROJECT_USES_NPM='no' # yes or no
PROJECT_USES_WEBPACK='no' #yes or no
{'fraction_non_alphanumeric': 0.08042686100989069, 'fraction_numerical': 0.005726184279021343, 'mean_word_length': 3.4582366589327145, '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': '6436401', 'n_tokens_mistral': 1150, 'n_tokens_neox': 1109, 'n_words': 559}