<commit_before>CONTAINER_NAME:=xos-server
TOSCA_CONFIG_PATH:=/opt/xos/configurations/xos/opencloud.yaml

.PHONY: build
build: ; docker build --rm -t xos .

.PHONY: run
run: ; docker run --rm  --name ${CONTAINER_NAME} -p 80:8000 xos

.PHONY: runtosca
runtosca: ; docker exec -it ${CONTAINER_NAME} /usr/bin/python /opt/xos/tosca/run.py <EMAIL> ${TOSCA_CONFIG_PATH}

.PHONY: stop
stop: ; docker stop ${CONTAINER_NAME}

.PHONY: rmcontainer
rmcontainer: ; docker rm ${CONTAINER_NAME}<commit_msg>execute initdb after building building docker image<commit_after>CONTAINER_NAME:=xos-server
TOSCA_CONFIG_PATH:=/opt/xos/configurations/xos/opencloud.yaml

.PHONY: build
build: ; docker build --rm -t xos . && ./initdb

.PHONY: run
run: ; docker run --rm  --name ${CONTAINER_NAME} -p 80:8000 xos

.PHONY: runtosca
runtosca: ; docker exec -it ${CONTAINER_NAME} /usr/bin/python /opt/xos/tosca/run.py <EMAIL> ${TOSCA_CONFIG_PATH}

.PHONY: stop
stop: ; docker stop ${CONTAINER_NAME}

.PHONY: rmcontainer
rmcontainer: ; docker rm ${CONTAINER_NAME}
{'fraction_non_alphanumeric': 0.13980582524271845, 'fraction_numerical': 0.011650485436893204, 'mean_word_length': 4.696132596685083, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7623522', 'n_tokens_mistral': 447, 'n_tokens_neox': 414, 'n_words': 94}