InsaLan / infra-insalan.fr

infrastructure configuration of the insalan website
3 stars 0 forks source link

Missing `BACKEND_MEDIA_ROOT` in `.env.dist` #18

Closed Lugrim closed 1 year ago

Lugrim commented 1 year ago

When running current dev version with .env.dist as .env, we have

Please add it with a description of what the value is, what it should look like, and setting its default to something working out-of-the-box for a dev environment

Dyskal commented 1 year ago

ATM, the meaning of BACKEND_MEDIA_ROOT / BACKEND_STATIC_ROOT are for the MEDIA_ROOT / STATIC_ROOT Django settings, and are set to : v1/${...}.

According to Django, they are :

They are served at v1/static because Django serve ${WEBSITE_HOST}/v1/...