You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
330 B
14 lines
330 B
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
# cd to script dir
|
||
|
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||
|
|
||
|
# activate python venv
|
||
|
source ./venv/bin/activate
|
||
|
|
||
|
# set gf2 location
|
||
|
export GF_FOLDER="/net/nas/resources/corpus/gigafida/v2.0/gigafida_dedup/tei/data/"
|
||
|
|
||
|
# run the app
|
||
|
flask run --port=2001 --host=0.0.0.0 --debugger --reload
|