omnitool_on_hf / omnitool_start.sh
manu-sapiens's picture
including omnitool again but cleanedup from git files
4a05547
raw
history blame
496 Bytes
#!/bin/bash
echo "--- START ---"
echo "--- GIT OMNITOOL ---"
#git clone https://github.com/omnitool-ai/omnitool
mkdir -p ./omnitool/node_modules
chmod 777 ./omnitool/node_modules
echo "--- CHECKING EXISTING /DATA ---"
if [ -d "/data" ]; then
echo "$(ls -l /data)"
else
echo "--- NO /DATA DETECTED ---"
fi
echo "--- CD OMNITOOL ---"
cd omnitool
echo "--- YARN INSTALL ---"
yarn
chown -Rh node ./omnitool
chmod -R 777 ./omnitool
echo "--- YARN START ---"
yarn start -u -rb -R blocks