-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
zhouning edited this page Mar 22, 2026
·
1 revision
中英双语 | Bilingual: Chinese & English
| 组件 | 要求 |
|---|---|
| Python | 3.11+ |
| PostgreSQL | 16+ 并安装 PostGIS 3.4 扩展 |
| Node.js | 20+ (前端构建) |
| Google Cloud | Vertex AI 项目 或 Google AI API Key |
git clone https://github.com/zhouning/gisdataagent.git
cd gisdataagent
cp .env.example data_agent/.env
# 编辑 data_agent/.env,填入你的数据库和 Google AI 凭据
docker-compose up -d
# 浏览器打开 http://localhost:8000
# 默认账号:admin / admin123git clone https://github.com/zhouning/gisdataagent.git
cd gisdataagent
# 创建虚拟环境
python -m venv .venv
# Windows: .venv\Scripts\activate
# Linux/Mac: source .venv/bin/activate
pip install -r requirements.txt
# 配置环境变量
cp .env.example data_agent/.env
# 编辑 data_agent/.env
# 数据库迁移(按顺序执行 30 个 SQL 脚本)
for f in data_agent/migrations/*.sql; do psql -U agent_user -d gis_agent -f "$f"; done
# 构建前端
cd frontend && npm install && npm run build && cd ..
# 启动
export PYTHONPATH=.
chainlit run data_agent/app.py -w- 用户名:
admin,密码:admin123(首次启动自动创建) - 登录页支持在线注册新账号
| Component | Requirement |
|---|---|
| Python | 3.11+ |
| PostgreSQL | 16+ with PostGIS 3.4 extension |
| Node.js | 20+ (frontend build) |
| Google Cloud | Vertex AI project or Google AI API Key |
git clone https://github.com/zhouning/gisdataagent.git
cd gisdataagent
cp .env.example data_agent/.env
# Edit data_agent/.env with your database and Google AI credentials
docker-compose up -d
# Open http://localhost:8000
# Default login: admin / admin123git clone https://github.com/zhouning/gisdataagent.git
cd gisdataagent
# Create virtual environment
python -m venv .venv
# Windows: .venv\Scripts\activate
# Linux/Mac: source .venv/bin/activate
pip install -r requirements.txt
# Configure environment
cp .env.example data_agent/.env
# Edit data_agent/.env
# Run database migrations (30 SQL scripts in order)
for f in data_agent/migrations/*.sql; do psql -U agent_user -d gis_agent -f "$f"; done
# Build frontend
cd frontend && npm install && npm run build && cd ..
# Start
export PYTHONPATH=.
chainlit run data_agent/app.py -w- Username:
admin, Password:admin123(auto-seeded on first run) - Self-registration available on the login page
- Environment Variables — Complete .env reference
- First Steps — Upload data and run your first analysis
GIS Data Agent v14.5 · Built on Google ADK · GitHub · Report Issue
快速开始 Getting Started
核心概念 Core Concepts
使用指南 User Guide
架构与运维 Architecture & Ops
参考 Reference