From f48141e2bb2425710fd6a58514e697bb9d95a14f Mon Sep 17 00:00:00 2001 From: Justin Goette <53531335+jcgoette@users.noreply.github.com> Date: Wed, 18 Aug 2021 21:48:08 -0400 Subject: [PATCH] add Docker admin activity example --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 01dbb96a..b8c6952a 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,15 @@ services: [babybuddy/babybuddy](https://hub.docker.com/r/babybuddy/babybuddy) on Docker Hub Future versions of Baby Buddy will use the LSIO container. +For doing administrative work within the LSIO container, setting an environment variable may be necessary. +For example: + +``` +docker exec -it babybuddy /bin/bash +export DJANGO_SETTINGS_MODULE="babybuddy.settings.base" +python3 /app/babybuddy/manage.py clearsessions +``` + ### Heroku [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)