Added restart script and fixed dockerfile and run to match docs
This commit is contained in:
23
scripts/install.sh
Normal file
23
scripts/install.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/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.
|
||||
Reference in New Issue
Block a user