> For the complete documentation index, see [llms.txt](https://mixdao.gitbook.io/dfinity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mixdao.gitbook.io/dfinity/si-.-jiao-cheng/8.-zi-ding-yi-qian-duan/zhu-ce-gou-jian-bing-bu-shu-ying-yong.md).

# 注册构建并部署应用

在开发环境中连接到本地ICP网络后，就可以在本地注册构建部署应用了。

部署应用步骤

1. 检查是否在项目根目录
2. 注册构建并部署应用命令\
   **`dfx deploy`**

   dfx deploy命令会输出执行的操作信息
3. 复制custom\_greeting\_assets canister的canister识别码到剪贴板<br>

   如果你没有记录识别码，可以运行下面的命令获取

   ```
   dfx canister id custom_greeting_assets
   ```
