Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Use env var `DC_USER` for `dj` recipe

Dhruv Bhanushali6a1c3217ba80
diff --git a/api/justfile b/api/justfile
index dab84d80a..21687b13f 100644
--- a/api/justfile
+++ b/api/justfile
@@ -78,7 +78,7 @@ dj-local +args="":
# Run Django administrative commands inside the Docker container
dj +args="": wait-up
- env DC_USER="opener" just ../exec web python manage.py {{ args }}
+ env DC_USER="{{ env_var_or_default("DC_USER", "opener") }}" just ../exec web python manage.py {{ args }}
# Get IPython shell inside the Docker container
ipython: