update pay function
This commit is contained in:
23
start-chat.sh
Normal file
23
start-chat.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Starting AgentChat Next.js Application..."
|
||||
echo "========================================="
|
||||
|
||||
cd src/views/AgentChat/neuratalk
|
||||
|
||||
# 检查是否已安装依赖
|
||||
if [ ! -d "node_modules" ]; then
|
||||
echo "Installing dependencies..."
|
||||
npm install
|
||||
fi
|
||||
|
||||
# 检查是否有 .env.local
|
||||
if [ ! -f ".env.local" ]; then
|
||||
echo "Creating .env.local from .env.example..."
|
||||
cp .env.example .env.local
|
||||
echo "Please edit .env.local with your configuration"
|
||||
read -p "Press enter to continue..."
|
||||
fi
|
||||
|
||||
echo "Starting development server on http://localhost:3000"
|
||||
npm run dev
|
||||
Reference in New Issue
Block a user