fix(scripts): update run.sh to use mev-beta binary and set PROVIDER_CONFIG_PATH

- Fixed binary name from mev-bot to mev-beta (line 82)
- Added automatic PROVIDER_CONFIG_PATH export (defaults to config/providers_runtime.yaml)
- Created .env.production template with all required variables
- Added provider config path display in startup messages

This ensures the bot uses the correct binary and provider configuration
when started with scripts/run.sh

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Krypto Kajun
2025-10-24 15:37:14 -05:00
parent 5eabb46afd
commit 4f100bfddc
2 changed files with 27 additions and 138 deletions

View File

@@ -72,9 +72,14 @@ if [ $? -eq 0 ]; then
echo "🔐 Security:"
echo " Encryption Key: ${MEV_BOT_ENCRYPTION_KEY:0:8}...***"
echo ""
# Set provider config path if not already set
export PROVIDER_CONFIG_PATH="${PROVIDER_CONFIG_PATH:-$PWD/config/providers_runtime.yaml}"
echo "📋 Provider Config: $PROVIDER_CONFIG_PATH"
echo ""
# Run the application
./bin/mev-bot start
./bin/mev-beta start
else
echo "Failed to build the application!"
exit 1