23 lines
550 B
Bash
23 lines
550 B
Bash
#!/bin/bash
|
|
|
|
cd /
|
|
git clone https://git.nielsgeens.be/llm/SIA.git
|
|
cd /SIA
|
|
pip3 install -r requirements.txt
|
|
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
|
|
nvm install node
|
|
cd /SIA/web
|
|
npm install
|
|
npm install -D tailwindcss
|
|
npm run build
|
|
mv /root/SIA/web/dist/ /root/SIA/static
|
|
|
|
apt update
|
|
apt install -y vim tmux
|
|
vim .env
|
|
|
|
cd /root/SIA
|
|
python3 -m sia
|
|
|
|
#The SIA source is located in /root/sia. Not all features are implemented yet. Look at the readme and code to find what is missing. Make sure to unit test your work. |