update existing references to yarn dev to use yarn start instead

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-04-08 01:30:11 +02:00
parent fbb84fbc8c
commit e655f626ad
22 changed files with 40 additions and 33 deletions
+8 -8
View File
@@ -192,11 +192,11 @@ check: check-code check-docs check-type-dependencies check-styles
# run development instance
# BUG: the frontend seems to run on "$(backend_port)" (7007 default).
# The documentation states "This is going to start two things,
# The documentation states "This is going to start two things,
# the frontend (:3000) and the backend (:7007)."
# However, the frontend seems to end up running on 7007.
.PHONY: dev
dev: build
start: build
@docker run --rm -it \
--name $(docker_name_timestamp_prefix)-$@ \
-p $(frontend_port):$(frontend_host_port) \
@@ -206,12 +206,12 @@ dev: build
-w /app \
--entrypoint "" \
$(docker_tag) \
yarn dev
yarn start
# convenience: dev alias
.PHONY: start
start: dev
# convenience: start alias
.PHONY: dev
dev: start
# convenience: dev alias
# convenience: start alias
.PHONY: run
run: dev
run: start