Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit c279f00

Browse files
committed
Env var + script updates.
1 parent aae76c0 commit c279f00

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

env/medcat.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MIN_ACC_TH=0.2
1515

1616
LEARNING_RATE=0.1
1717
ANNEAL=False
18-
KEEP_PUNCT=:|.
18+
KEEP_PUNCT=":|."
1919

2020
# can be left empty if you want to use the CDB spacy model, otherwise, possible values are : en_core_sci_lg, en_core_sci_md, etc...
2121
# please note that only SpaCy models that are installed on the docker container are usable (take a look at the .Dockerfile and install any other custom models you may want to use)

export_env_vars.sh

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
11
#!/bin/bash
22

3-
set -o allexport
3+
set -a
44

55
current_dir=$(pwd)
6-
security_dir="../security/"
76

87
env_files=("env/general.env"
98
"env/app.env"
109
"env/medcat.env"
1110
)
1211

13-
set -a
1412

1513
for env_file in ${env_files[@]}; do
1614
source $env_file
1715
done
1816

19-
# for nginx vars
20-
export DOLLAR="$"
21-
22-
set +a
23-
24-
set +o allexport
17+
set +a

0 commit comments

Comments
 (0)