Add documentation, environment config, and project files: start.sh
This commit is contained in:
parent
d17f6e14f8
commit
31050b3a6f
1 changed files with 24 additions and 0 deletions
24
scripts/start.sh
Normal file
24
scripts/start.sh
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Start script for Ross Ultrix MCP Server
|
||||||
|
echo "Starting Ross Ultrix MCP Server..."
|
||||||
|
|
||||||
|
# Check if config directory exists
|
||||||
|
if [ ! -d "/app/config" ]; then
|
||||||
|
echo "Creating config directory..."
|
||||||
|
mkdir -p /app/config
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check if logs directory exists
|
||||||
|
if [ ! -d "/app/logs" ]; then
|
||||||
|
echo "Creating logs directory..."
|
||||||
|
mkdir -p /app/logs
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ensure proper permissions
|
||||||
|
chown -R rossuser:nodejs /app/logs
|
||||||
|
|
||||||
|
# Start the MCP server
|
||||||
|
echo "Starting MCP server with Node.js..."
|
||||||
|
exec node dist/index.js
|
||||||
Loading…
Reference in a new issue