mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
WIP run and setup
This commit is contained in:
parent
cfd408dbbd
commit
7d3f9c4bab
@ -42,7 +42,7 @@ pushd $(dirname $0)
|
|||||||
if [ ! -d ${SAMPLE_DIR} ]; then
|
if [ ! -d ${SAMPLE_DIR} ]; then
|
||||||
mkdir -p samples/
|
mkdir -p samples/
|
||||||
|
|
||||||
SAMPLE_TARBALL=samples/crawl-${SAMPLE_NAME}.tar.gz
|
SAMPLE_TARBALL=samples/${SAMPLE_NAME}.tar.gz
|
||||||
download_model ${SAMPLE_TARBALL} https://downloads.marginalia.nu/${SAMPLE_TARBALL} || rm ${SAMPLE_TARBALL}
|
download_model ${SAMPLE_TARBALL} https://downloads.marginalia.nu/${SAMPLE_TARBALL} || rm ${SAMPLE_TARBALL}
|
||||||
|
|
||||||
if [ ! -f ${SAMPLE_TARBALL} ]; then
|
if [ ! -f ${SAMPLE_TARBALL} ]; then
|
||||||
@ -50,7 +50,7 @@ if [ ! -d ${SAMPLE_DIR} ]; then
|
|||||||
exit 255
|
exit 255
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p samples/crawl-${SAMPLE_NAME}
|
mkdir -p samples/${SAMPLE_NAME}
|
||||||
if [ ! -f $SAMPLE_DIR/plan.yaml ]; then
|
if [ ! -f $SAMPLE_DIR/plan.yaml ]; then
|
||||||
echo "Uncompressing"
|
echo "Uncompressing"
|
||||||
tar zxf ${SAMPLE_TARBALL} --strip-components=1 -C ${SAMPLE_DIR}
|
tar zxf ${SAMPLE_TARBALL} --strip-components=1 -C ${SAMPLE_DIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user