Skip to content

Commit 92f717e

Browse files
sainakvigneshhari
andauthored
fix pdf report generation in prod (#2400)
Co-authored-by: Vignesh Hari <14056798+vigneshhari@users.noreply.github.com>
1 parent 28bb04d commit 92f717e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scripts/celery_worker-ecs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ if [ -z "${DATABASE_URL}" ]; then
55
export DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}"
66
fi
77

8+
python manage.py collectstatic --noinput
89
python manage.py compilemessages
910
celery --app=config.celery_app worker --max-tasks-per-child=6 --loglevel=info

scripts/celery_worker.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ fi
77

88

99
export NEW_RELIC_CONFIG_FILE=/etc/newrelic.ini
10+
python manage.py collectstatic --noinput
1011
python manage.py compilemessages
1112
newrelic-admin run-program celery --app=config.celery_app worker --max-tasks-per-child=6 --loglevel=info

0 commit comments

Comments
 (0)