mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
WIP run and setup
This commit is contained in:
parent
03b7d7bbbe
commit
91b4579edc
@ -39,6 +39,14 @@ function download_model {
|
|||||||
|
|
||||||
pushd $(dirname $0)
|
pushd $(dirname $0)
|
||||||
|
|
||||||
|
## Upgrade the tools
|
||||||
|
|
||||||
|
rm -rf install/loader-process install/converter-process
|
||||||
|
tar xf ../crawl/loading-process/build/distributions/loader-process.tar -C install/
|
||||||
|
tar xf ../crawl/converting-process/build/distributions/converter-process.tar -C install/
|
||||||
|
|
||||||
|
## Download the sample if necessary
|
||||||
|
|
||||||
if [ ! -d ${SAMPLE_DIR} ]; then
|
if [ ! -d ${SAMPLE_DIR} ]; then
|
||||||
mkdir -p samples/
|
mkdir -p samples/
|
||||||
|
|
||||||
@ -63,12 +71,6 @@ rm -f ${SAMPLE_DIR}/process/process.log
|
|||||||
rm -f vol/iw/dictionary.dat
|
rm -f vol/iw/dictionary.dat
|
||||||
rm -f vol/iw/index.dat
|
rm -f vol/iw/index.dat
|
||||||
|
|
||||||
## Upgrade the tools
|
|
||||||
|
|
||||||
rm -rf install/loader-process install/converter-process
|
|
||||||
tar xf ../crawl/loading-process/build/distributions/loader-process.tar -C install/
|
|
||||||
tar xf ../crawl/converting-process/build/distributions/converter-process.tar -C install/
|
|
||||||
|
|
||||||
PATH+=":install/converter-process/bin"
|
PATH+=":install/converter-process/bin"
|
||||||
PATH+=":install/loader-process/bin"
|
PATH+=":install/loader-process/bin"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user