Commit c50654c6 authored by sim's avatar sim

[FIX] Configuration file paths setup

parent 955bd94a
#!/usr/bin/env bash
ENV_FILE=.env
DSM=gargantext.settings
DSM=gargantext.backend.settings
GARGANTEXT_CONF=${GARGANTEXT_CONF:-gargantext.ini}
POSTGREST_CONF=${POSTGREST_CONF:-postgrest.conf}
read -r -d '' DJANGO_VAR <<EOF
# Django settings module, it is unlikely that you'll need to change that.
......@@ -14,8 +16,8 @@ build_env () {
$DJANGO_VAR
# Paths of configuration files, you're welcome to change that; when a simple
# filename is given, it'll be searched in current directory.
GARGANTEXT_CONF=gargantext.ini
POSTGREST_CONF=postgrest.conf
GARGANTEXT_CONF=$GARGANTEXT_CONF
POSTGREST_CONF=$POSTGREST_CONF
EOF
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment