设置开发环境
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
请按照以下步骤为开发和部署 App Engine 服务设置本地环境:
安装最新版本的 Node.js。
如需查看受支持的版本列表,请参阅 Node.js 运行时;如需了解如何使用其他 Node.js 版本,请参阅自定义运行时。
安装并初始化 gcloud CLI 以部署和管理您的应用。如果您已安装并初始化 gcloud CLI,请运行 gcloud components update
命令以更新至最新版本。
下载 App Engine 版 gcloud CLI 即表示您同意遵守其使用条款。
可选工具:
安装 Git,以访问 Google Cloud GitHub 代码库中的代码、示例、库和工具。
npm软件包管理器通常会与 Node.js 一起安装,但您也可以选择安装Yarn 软件包管理器。
安装 nvm 以轻松管理 Node.js 和 npm 的安装。
如果您使用的是 Windows,请参阅 nvm-windows。
安装您偏好的工具或框架,例如,您可以使用 Express.js 框架。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-09-22。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]