working on db

This commit is contained in:
2019-03-14 19:49:01 +01:00
parent 4e8447d930
commit c5ab988d50
3 changed files with 29 additions and 6 deletions

View File

@@ -14,6 +14,9 @@ KRES_SRL_FOLDER = "$(MAKE_ROOT)/data/kres_srl"
OUTPUT = "file"
OUTDIR = "/home/voje/workdir/test_out"
DBADDR = ""
DB_ADM_USER = testuser
DB_ADM_PASS = testpass
export
.PHONY: dev-env preflight
@@ -23,7 +26,7 @@ all:
# prereq (environment)
dev-env:
cd dockerfiles; cd dev-env; $(MAKE)
cd dockerfiles/dev-env; $(MAKE)
# run these inside dev-env container
data/samples:
@@ -35,3 +38,6 @@ preflight: data/samples
pip3 install -e src/pkg/corpusparser/.
python3 src/pkg/corpusparser/corpusparser/main.py --kres-folder $(KRES_FOLDER) \
--ssj-file $(SSJ_FILE) --kres-srl-folder $(KRES_SRL_FOLDER) --output $(OUTPUT) --outdir $(OUTDIR) --dbaddr $(DBADDR)
database:
cd dockerfiles/database; $(MAKE)