strdiftest / start.sh
nsave's picture
Upload 24 files
7564244 verified
raw
history blame contribute delete
259 Bytes
#!/bin/bash
cd frontend
pnpm install
pnpm run build
if [ $? -eq 0 ]; then
echo -e "\033[1;32m\nfrontend build success \033[0m"
else
echo -e "\033[1;31m\nfrontend build failed\n\033[0m" >&2 exit 1
fi
cd ../
python3 main.py --port 7860 --host 0.0.0.0