this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python to python3 fix

+15 -10
+5
nix/docker-image.nix
··· 30 30 # Plus essentials the scripts and Python runtime need. 31 31 # ------------------------------------------------------------------------- 32 32 runtimeDeps = with pkgs; [ 33 + # Python interpreter — the venv's bin/python3 is a symlink to the 34 + # Nix store Python; without this package in the image that symlink 35 + # would dangle and every `python` / `python3` call would fail. 36 + python313 37 + 33 38 # Core utilities — scripts use #!/bin/bash, cat, ls, touch, etc. 34 39 bash 35 40 coreutils
+4 -4
scripts/celery_beat.sh
··· 15 15 ./wait_for_db.sh 16 16 ./wait_for_redis.sh 17 17 18 - python manage.py migrate --noinput 19 - python manage.py compilemessages -v 0 20 - python manage.py sync_permissions_roles 21 - python manage.py sync_valueset 18 + python3 manage.py migrate --noinput 19 + python3 manage.py compilemessages -v 0 20 + python3 manage.py sync_permissions_roles 21 + python3 manage.py sync_valueset 22 22 23 23 touch /tmp/healthy 24 24
+2 -2
scripts/celery_worker.sh
··· 15 15 ./wait_for_db.sh 16 16 ./wait_for_redis.sh 17 17 18 - python manage.py collectstatic --noinput 19 - python manage.py compilemessages -v 0 18 + python3 manage.py collectstatic --noinput 19 + python3 manage.py compilemessages -v 0 20 20 21 21 celery --app=config.celery_app worker --max-tasks-per-child=6 --loglevel=info --concurrency=${CELERY_WORKER_CONCURRENCY:-1}
+2 -2
scripts/start.sh
··· 20 20 ./wait_for_db.sh 21 21 ./wait_for_redis.sh 22 22 23 - python manage.py collectstatic --noinput 24 - python manage.py compilemessages -v 0 23 + python3 manage.py collectstatic --noinput 24 + python3 manage.py compilemessages -v 0 25 25 26 26 27 27 gunicorn --config python:config.gunicorn config.wsgi:application --bind 0.0.0.0:9000 --chdir=/app --workers 2 \
+1 -1
scripts/wait_for_db.sh
··· 1 1 #!/bin/bash 2 2 3 3 postgres_ready() { 4 - python << END 4 + python3 << END 5 5 import sys 6 6 import psycopg 7 7 try:
+1 -1
scripts/wait_for_redis.sh
··· 1 1 #!/bin/bash 2 2 3 3 redis_ready() { 4 - python << END 4 + python3 << END 5 5 import sys 6 6 import redis 7 7 try: