mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00

Update README deployment steps and add deploy:secrets script to package.json update local inference script and README update lockfile reconfigure package scripts for development update test execution pass server tests Update README with revised Bun commands and workspace details remove pnpm package manager designator create bun server
13 lines
372 B
Bash
Executable File
13 lines
372 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ "$1" = "mlx-omni-server" ]; then
|
|
printf "Starting Inference Server: %s\n" "$1"
|
|
mlx-omni-server --log-level debug
|
|
elif [ "$1" = "ollama" ]; then
|
|
echo "starting ollama"
|
|
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
|
|
else
|
|
printf "Error: First argument must be 'mlx-omni-server'\n"
|
|
exit 1
|
|
fi
|