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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user