eve-bootstrap
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEve Bootstrap
Eve 快速入门
One skill that handles everything from zero to a working Eve project. It detects whether you're already authenticated and adapts:
- Already authenticated → skips to project setup
- Not authenticated → creates profile, requests access, waits for admin approval, auto-logs in, then sets up project
这是一个能帮你从0到1搭建起可用Eve项目的工具。它会检测你是否已完成认证,并据此调整流程:
- 已完成认证 → 直接跳至项目设置环节
- 未认证 → 创建个人资料,提交访问请求,等待管理员审批,自动登录,然后设置项目
Step 1: Check CLI
步骤1:检查CLI
bash
eve --versionIf this fails, install the CLI first:
bash
npm install -g @anthropic/eve-clibash
eve --version如果该命令执行失败,请先安装CLI:
bash
npm install -g @anthropic/eve-cliStep 2: Create Profile
步骤2:创建个人资料
Check if a profile already exists:
bash
eve profile listIf no profile exists, create one:
stagingbash
eve profile create staging --api-url https://api.eh1.incept5.dev
eve profile use staging检查是否已存在个人资料:
bash
eve profile list如果不存在个人资料,请创建一个:
stagingbash
eve profile create staging --api-url https://api.eh1.incept5.dev
eve profile use stagingStep 3: Check Auth Status
步骤3:检查认证状态
bash
eve auth statusThis calls the API — not a local file check. Two outcomes:
bash
eve auth status该命令会调用API——并非检查本地文件。有两种结果:
Already authenticated → go to Step 5
已完成认证 → 跳至步骤5
If shows you're logged in, skip ahead to Step 5: Project Setup.
eve auth status如果显示你已登录,请直接跳至步骤5:项目设置。
eve auth statusNot authenticated → continue to Step 4
未认证 → 继续步骤4
Step 4: Request Access (New Users Only)
步骤4:提交访问请求(仅新用户)
Find an SSH public key to use:
bash
ls ~/.ssh/*.pubDefault: . If no key exists, generate one:
~/.ssh/id_ed25519.pubbash
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519Ask the user for:
- Org name — what they want to call their organisation
- Email — optional, for their user account
Submit the access request and wait for approval:
bash
eve auth request-access \
--ssh-key ~/.ssh/id_ed25519.pub \
--org "My Company" \
--email user@example.com \
--waitThe flag:
--wait- Submits the request (unauthenticated)
- Prints the request ID ()
areq_xxx - Polls every 5 seconds until an admin approves or rejects
- On approval: auto-completes SSH challenge login
- Stores token in
~/.eve/credentials.json
Tell the user: "An admin needs to run to approve your request."
eve admin access-requests approve <id>Once approved, you're logged in with your own org (as admin).
找到要使用的SSH公钥:
bash
ls ~/.ssh/*.pub默认路径:。如果没有密钥,请生成一个:
~/.ssh/id_ed25519.pubbash
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519向用户收集以下信息:
- 组织名称 —— 用户希望给自己的组织起的名称
- 邮箱 —— 可选,用于用户账户
提交访问请求并等待审批:
bash
eve auth request-access \
--ssh-key ~/.ssh/id_ed25519.pub \
--org "My Company" \
--email user@example.com \
--wait--wait- 提交请求(未认证状态下)
- 打印请求ID(格式为)
areq_xxx - 每5秒轮询一次,直到管理员审批或拒绝
- 审批通过后:自动完成SSH挑战登录
- 将令牌存储在中
~/.eve/credentials.json
告知用户:"管理员需要执行来审批你的请求。"
eve admin access-requests approve <id>审批通过后,你将以管理员身份登录自己的组织账户。
Step 5: Project Setup
步骤5:项目设置
Set profile defaults if org/project IDs are known:
bash
eve profile set --org <org_id> --project <proj_id>If no project exists yet, ask the user for:
- Project name and slug (slug is immutable, keep it short)
- Repo URL (e.g., )
git@github.com:org/repo.git
bash
undefined如果已知组织/项目ID,可设置个人资料默认值:
bash
eve profile set --org <org_id> --project <proj_id>如果还没有项目,请向用户收集以下信息:
- 项目名称和标识(slug)(标识不可修改,请保持简短)
- 仓库URL(例如:)
git@github.com:org/repo.git
bash
undefinedOption A: Ensure project exists
选项A:确保项目已存在
eve project ensure --name "My App" --slug myapp
--repo-url git@github.com:org/repo.git --branch main
--repo-url git@github.com:org/repo.git --branch main
eve project ensure --name "My App" --slug myapp
--repo-url git@github.com:org/repo.git --branch main
--repo-url git@github.com:org/repo.git --branch main
Option B: Bootstrap project + environments in one call
选项B:一键搭建项目及环境
eve project bootstrap --name "My App" --repo-url git@github.com:org/repo.git
--environments staging,production
--environments staging,production
**URL impact:** Slugs determine deployment URLs:
`{service}.{orgSlug}-{projectSlug}-{env}.{domain}`eve project bootstrap --name "My App" --repo-url git@github.com:org/repo.git
--environments staging,production
--environments staging,production
**URL影响:** 标识(slug)决定了部署URL的格式:
`{service}.{orgSlug}-{projectSlug}-{env}.{domain}`Step 6: Manifest
步骤6:清单文件
If doesn't exist, create a minimal one:
.eve/manifest.yamlyaml
schema: eve/compose/v2
project: myapp
registry:
host: ghcr.io
namespace: myorg
auth:
username_secret: GHCR_USERNAME
token_secret: GHCR_TOKEN
services:
web:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/myorg/myapp
ports: [3000]
x-eve:
ingress:
public: true
port: 3000
environments:
staging:
pipeline: deploy
pipelines:
deploy:
steps:
- name: build
action: { type: build }
- name: release
depends_on: [build]
action: { type: release }
- name: deploy
depends_on: [release]
action: { type: deploy }Use the skill for detailed manifest guidance.
eve-manifest-authoring如果不存在,请创建一个最简版本:
.eve/manifest.yamlyaml
schema: eve/compose/v2
project: myapp
registry:
host: ghcr.io
namespace: myorg
auth:
username_secret: GHCR_USERNAME
token_secret: GHCR_TOKEN
services:
web:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/myorg/myapp
ports: [3000]
x-eve:
ingress:
public: true
port: 3000
environments:
staging:
pipeline: deploy
pipelines:
deploy:
steps:
- name: build
action: { type: build }
- name: release
depends_on: [build]
action: { type: release }
- name: deploy
depends_on: [release]
action: { type: deploy }如需详细的清单文件编写指导,请使用工具。
eve-manifest-authoringStep 7: Learn the Platform
步骤7:了解平台
Read the Eve platform reference to understand all capabilities:
https://web.incept5-evshow-staging.eh1.incept5.dev/llmsThis covers CLI commands, manifest syntax, agent harnesses, job lifecycle, and more.
阅读Eve平台参考文档,了解所有功能:
https://web.incept5-evshow-staging.eh1.incept5.dev/llms文档涵盖CLI命令、清单文件语法、Agent harnesses、作业生命周期等内容。
Step 8: Verify
步骤8:验证
bash
eve auth status
eve system health
eve project listbash
eve auth status
eve system health
eve project listSummary
总结
Print what was set up:
- Profile: name, API URL
- Auth: email, org name, org slug
- Project: name, slug, repo URL
- Next steps: sync manifest (), deploy (
eve project sync)eve env deploy staging --ref main --repo-dir .
打印已完成的设置内容:
- 个人资料:名称、API URL
- 认证信息:邮箱、组织名称、组织标识
- 项目:名称、标识、仓库URL
- 后续步骤:同步清单文件()、部署(
eve project sync)eve env deploy staging --ref main --repo-dir .