Skip to content

Commit

Permalink
Fix media-hare-activate.sh and add to dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
double16 committed Jan 5, 2025
1 parent 8109176 commit 264930e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
docs/
venv/
dev-native/
fixtures/
.venv/
.git/
.github/
.idea/
.pytest_cache/
.coverage/
Expand Down
7 changes: 4 additions & 3 deletions dev-native/media-hare-activate.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
docker compose -p mh -f "$(dirname "$0")/docker-compose-langtools.yml" up -d
source "$(dirname "$0")/../.venv/bin/activate"
export PATH="${PATH}:$(pwd)/$(dirname "$0")/../dvrprocess"
script_dir=$(cd "$(dirname "$0")" && pwd)
docker compose -p mh -f "${script_dir}/docker-compose-langtools.yml" up -d
source "${script_dir}/../.venv/bin/activate"
export PATH="${PATH}:${script_dir}/../dvrprocess"
export LANGUAGE_TOOL_HOST=localhost
export KALDI_EN_HOST=localhost
export KALDI_EN_PORT=2700
Expand Down

0 comments on commit 264930e

Please sign in to comment.