<commit_before>#!/bin/bash
#
# Runs the web server using production settings.
#
set -euo pipefail

export HTTPS_CERT_FILE=/etc/ssl/private/hkjn.me.crt
export HTTPS_KEY_FILE=/etc/ssl/private/hkjn.me.key
export BIND_ADDR=:4430
export PROD=1
go get -u hkjn.me/hkjnweb/...
go build ./cmd/server/hkjnserver.go
./hkjnserver -alsologtostderr<commit_msg>Also kill any existing process before running<commit_after>#!/bin/bash
#
# Runs the web server using production settings.
#
set -euo pipefail

export HTTPS_CERT_FILE=/etc/ssl/private/hkjn.me.crt
export HTTPS_KEY_FILE=/etc/ssl/private/hkjn.me.key
export BIND_ADDR=:4430
export PROD=1
go get -u hkjn.me/hkjnweb/...
go build ./cmd/server/hkjnserver.go
if pgrep hkjnserver 1>/dev/null; then
	kill $(pgrep hkjnserver)
fi
./hkjnserver -alsologtostderr
{'fraction_non_alphanumeric': 0.12010113780025285, 'fraction_numerical': 0.01390644753476612, 'mean_word_length': 4.538461538461538, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1096775', 'n_tokens_mistral': 347, 'n_tokens_neox': 316, 'n_words': 70}