12 lines
580 B
Bash
Executable File
12 lines
580 B
Bash
Executable File
#!/bin/bash
|
|
# WEVIA Dormant Activator — activates tools on demand
|
|
TOOL=$1
|
|
case $TOOL in
|
|
localai) cd /opt/localai && bash start.sh ;;
|
|
dify) cd /opt/dify && bash start.sh ;;
|
|
langflow) cd /opt/langflow && pip install langflow --break-system-packages -q && langflow run --port 7860 &;;
|
|
activepieces) cd /opt/activepieces && docker compose up -d ;;
|
|
vllm) echo 'vLLM needs GPU. Use: python -m vllm.entrypoints.openai.api_server --model Qwen/Qwen3-8B --port 8000' ;;
|
|
*) echo "Unknown tool: $TOOL. Available: localai, dify, langflow, activepieces, vllm" ;;
|
|
esac
|