<commit_before>name = simurg
registry = hub.docker.com

build:
	docker build -t $(registry)/$(name) $(BUILD_OPTS) .

stop:
	docker rm -f $(name) || true

run: stop
	docker run -it --rm=true -v $(shell pwd):/var/www --name=$(name) $(registry)/$(name) bash -l

start: stop
	docker run -d -v $(shell pwd):/var/www --name=$(name) $(registry)/$(name)<commit_msg>added command to start, stop and connect to a redis container<commit_after>name = simurg
registry = hub.docker.com

build:
	docker build -t $(registry)/$(name) $(BUILD_OPTS) .

stop:
	docker rm -f $(name) || true

run: stop
	docker run -it --rm=true -v $(shell pwd):/var/www --name=$(name) $(registry)/$(name) bash -l

start: stop
	docker run -d -v $(shell pwd):/var/www --name=$(name) $(registry)/$(name)

start_redis: stop_redis
	docker run --name redis -d redis redis-server --appendonly yes

stop_redis:
	docker rm -f redis || true

connect_redis:
	docker run -it --link redis:redis --rm redis redis-cli -h redis -p 6379
{'fraction_non_alphanumeric': 0.17533129459734964, 'fraction_numerical': 0.004077471967380225, 'mean_word_length': 3.6985645933014353, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '2413123', 'n_tokens_mistral': 377, 'n_tokens_neox': 357, 'n_words': 117}