Skip to content

Commit

Permalink
update install scripts, fix redis warning (#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Sep 9, 2024
1 parent a7988f0 commit 2ad7286
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@
CELERYD_TASK_TIME_LIMIT = 5 * 60
# http://docs.celeryproject.org/en/latest/userguide/configuration.html#task-soft-time-limit
CELERYD_TASK_SOFT_TIME_LIMIT = 60
# https://docs.celeryq.dev/en/latest/userguide/configuration.html#broker-connection-retry-on-startup
CELERY_BROKER_CONNECTION_RETRY_ON_STARTUP = False
CELERY_IMPORTS = [
'landingzones.tasks_celery',
'samplesheets.tasks_celery',
Expand Down
4 changes: 2 additions & 2 deletions utility/install_postgres.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash

echo "***********************************************"
echo "Installing PostgreSQL v11"
echo "Installing PostgreSQL v16"
echo "***********************************************"
add-apt-repository -y "deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main"
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
apt-get -y update
apt-get -y install postgresql-11
apt-get -y install postgresql-16
6 changes: 3 additions & 3 deletions utility/install_python.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash

echo "***********************************************"
echo "Installing Python 3.8"
echo "Installing Python 3.11"
echo "***********************************************"
add-apt-repository -y ppa:deadsnakes/ppa
apt-get -y update
apt-get -y install python3.8 python3.8-dev python3.8-venv
curl https://bootstrap.pypa.io/get-pip.py | sudo -H python3.8
apt-get -y install python3.11 python3.11-dev python3.11-venv python3.11-gdbm
curl https://bootstrap.pypa.io/get-pip.py | sudo -H python3.11
2 changes: 1 addition & 1 deletion utility/install_python_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [ -z "$VIRTUAL_ENV" ]; then
exit 1;
else

pip install wheel==0.40.0
pip install "wheel>=0.42.0, <0.43"
pip install -r $PROJECT_DIR/requirements/local.txt
pip install -r $PROJECT_DIR/requirements/test.txt
pip install -r $PROJECT_DIR/requirements.txt
Expand Down

0 comments on commit 2ad7286

Please sign in to comment.