From c9d2f14086f45b18e0eccafdaf8b93d1b4200017 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 9 Oct 2023 16:09:22 +0800 Subject: [PATCH] Update environment setup guide in README.md (#16362) * Update environment setup guide in README.md * Remove useless npm build Co-authored-by: PP * Update README.md Co-authored-by: PP * fix typo --------- Co-authored-by: PP --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 18fb4d894b6..ecaa3d0bb25 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,13 @@ Clone this repository into your local environment. In the cloned engine folder, run the following command to setup development environment: ```bash -# download & build engine dependencies +# download external dependencies +cd ./native +npm install +gulp init +# back to the root folder +cd .. +# setup environment and build engine files npm install ``` @@ -72,14 +78,9 @@ This is all you have to do to setup engine development environment. ### Build -- If running inside Cocos Creator, the engine will automatically compile and build after the editor window is opened. For more instructions on modifying the engine in Cocos Creator, please refer to [Engine Customization Workflow](https://docs.cocos.com/creator/manual/en/advanced-topics/engine-customization.html). -- Outside the editor, you need to run the following command to build: - -```bash -npm run build -``` +The Cocos Creator engine is designed to work with its editor, the engine will automatically compile and build after the editor window is opened. For more instructions on modifying the engine in Cocos Creator, please refer to [Engine Customization Workflow](https://docs.cocos.com/creator/manual/en/advanced-topics/engine-customization.html). -Please refer to [native readme](native/README.md) if you want to develop native applications. +Please refer to [native readme](native/README.md) for more information related to native development environment. ### Contribution