mirror of
https://github.com/tcsenpai/ollamagents.git
synced 2025-06-02 17:20:09 +00:00
Added installer
This commit is contained in:
parent
cbefffa297
commit
8bd5198f7a
13
install.sh
Executable file
13
install.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
CURRENT_DIR=$(pwd)
|
||||
echo "Please grant sudo access to install ollamagents in /usr/local/bin"
|
||||
sudo -v || exit 1
|
||||
echo "Working in $CURRENT_DIR"
|
||||
yarn install || exit 1
|
||||
echo "#!/bin/bash" >ollamagents
|
||||
echo "cd $CURRENT_DIR" >>ollamagents
|
||||
echo "yarn start" >>ollamagents
|
||||
chmod +x ollamagents
|
||||
sudo mv ollamagents /usr/local/bin/
|
||||
echo "Done!"
|
Loading…
x
Reference in New Issue
Block a user