Skip to content

Commit 07fcac1

Browse files
committed
Refactor Makefile to include a new target for starting the streamlit dashboard as a daemon
1 parent f062ae3 commit 07fcac1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
SHELL=/bin/bash
22

33
.PHONY: dashboard
4+
.PHONY: dashboardd
45
.PHONY: local
56
.PHONY: locald
67
.PHONY: docker
@@ -15,6 +16,11 @@ SHELL=/bin/bash
1516
dashboard:
1617
streamlit run ./dashboard.py --server.port 8501
1718

19+
# start streamlit dashboard as a daemon
20+
dashboardd:
21+
rm -f dashboard.log
22+
nohup streamlit run ./dashboard.py --server.port 8501 > dashboard.log 2>&1 &
23+
1824
# start dagster locally
1925
local:
2026
dagster dev -f anomstack/main.py

0 commit comments

Comments
 (0)