Skip to content

Commit 54f7c7c

Browse files
committed
Reference fixes
Celeryworker fix: Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead. Frontend: Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35 Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
1 parent 4b0b209 commit 54f7c7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/tests-start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /usr/bin/env bash
22
set -e
33

4-
hatch run production:python /app/app/tests_pre_start.py
4+
hatch run python /app/app/tests_pre_start.py
55

66
bash ./scripts/test.sh "$@"

app/worker-start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /usr/bin/env bash
22
set -e
33

4-
hatch run production:python /app/app/celeryworker_pre_start.py
5-
hatch run production:celery -A app.worker worker -l info -Q main-queue -c 1
4+
hatch run python /app/app/celeryworker_pre_start.py
5+
hatch run celery -A app.worker worker -l info -Q main-queue -c 1

0 commit comments

Comments
 (0)