Skip to content

Commit

Permalink
make stop-llmstudio (#698)
Browse files Browse the repository at this point in the history
kills the process running on port 10101 (llmstudio wave server)
  • Loading branch information
pascal-pfeiffer committed May 14, 2024
1 parent 430a1af commit 16ba64e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
SHELL := /bin/bash

PYTHON_VERSION ?= 3.10
PYTHON ?= python$(PYTHON_VERSION)
PIP ?= $(PYTHON) -m pip
Expand Down Expand Up @@ -135,6 +137,10 @@ llmstudio:
H2O_WAVE_PRIVATE_DIR="/download/@$(WORKDIR)/output/download" \
$(PIPENV) run wave run --no-reload app

.PHONY: stop-llmstudio
stop-llmstudio:
@kill $$(lsof -ti :10101)

.PHONY: docker-build-nightly
docker-build-nightly:
docker build -t $(DOCKER_IMAGE) .
Expand Down

0 comments on commit 16ba64e

Please sign in to comment.