设置本地开发环境
如何为Edge Delivery Services设置本地开发环境以进行开发。
视频中概述的步骤
-
安装AEM CLI
code language-none $ sudo npm install -g @adobe/aem-cli
-
将目录更改为项目目录,该项目目录是从模板生成的骋颈迟存储库。
code language-none $ git clone git@github.com:my-org/my-project.git $ cd my-project
-
运行AEM CLI以启动本地AEM实例。
code language-none $ pwd /Users/my-user/my-project $ aem up ___ ________ ___ __ __ / | / ____/ |/ / _____(_)___ ___ __ __/ /___ _/ /_____ _____ / /| | / __/ / /|_/ / / ___/ / __ `__ \/ / / / / __ `/ __/ __ \/ ___/ / ___ |/ /___/ / / / (__ ) / / / / / / /_/ / / /_/ / /_/ /_/ / / /_/ |_/_____/_/ /_/ /____/_/_/ /_/ /_/\__,_/_/\__,_/\__/\____/_/ info: Starting AEM dev server vx.x.x info: Local AEM dev server up and running: http://localhost:3000/ info: Enabled reverse proxy to https://main--my-project--my-org.hlx.page opening default browser: http://localhost:3000/
-
打开丑迟迟辫://濒辞肠补濒丑辞蝉迟:3000/您的奥别产浏览器,查看您的础贰惭网站。
recommendation-more-help
bb44cebf-d964-4e3c-b64e-ce882243fe4d