mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
14 lines
447 B
Bash
Executable File
14 lines
447 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e # Exit immediately if a command exits with a non-zero status
|
|
|
|
cp -n .env-template .env || true
|
|
mkdir -p model
|
|
if [ ! -d model/all-mpnet-base-v2 ]; then
|
|
wget -q https://d3dg1063dc54p9.cloudfront.net/models/embeddings/mpnet-base-v2.zip -O model/mpnet-base-v2.zip
|
|
unzip -q model/mpnet-base-v2.zip -d model
|
|
rm model/mpnet-base-v2.zip
|
|
fi
|
|
pip install -r application/requirements.txt
|
|
cd frontend
|
|
npm install --include=dev |