From 5c8f878f2a9b5ed4f82b6747efbdfdbeabae763d Mon Sep 17 00:00:00 2001 From: olaf michaelis Date: Sun, 1 Oct 2023 23:03:45 +0200 Subject: [PATCH] Add upgrade alias --- docker/rdmo/rootfs/home/rdmo/tpl/add_to_bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/rdmo/rootfs/home/rdmo/tpl/add_to_bashrc b/docker/rdmo/rootfs/home/rdmo/tpl/add_to_bashrc index 5fd76b9..9d60452 100644 --- a/docker/rdmo/rootfs/home/rdmo/tpl/add_to_bashrc +++ b/docker/rdmo/rootfs/home/rdmo/tpl/add_to_bashrc @@ -4,5 +4,6 @@ alias pm="python ${RDMO_APP}/manage.py" alias pms="python ${RDMO_APP}/manage.py collectstatic" alias pmsn="python ${RDMO_APP}/manage.py collectstatic --no-input" alias pmu="python ${RDMO_APP}/manage.py upgrade" +alias upgrade="pip install --upgrade rdmo && python manage.py upgrade" cd /vol