From 8bc61686f7959ffdf15fe91e4dca6bea7443766b Mon Sep 17 00:00:00 2001 From: RomanTsukanov Date: Thu, 18 Jan 2024 13:57:25 +0400 Subject: [PATCH] README: Update build instructions --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be190bdfff..f1beab40b4 100644 --- a/README.md +++ b/README.md @@ -61,10 +61,17 @@ Make sure that you have Node.js v14 or later and a compatible npm version instal npm install ``` +1. **Build the [platform-independent part](https://github.com/surveyjs/survey-library/blob/master/build-scripts/survey-core/README.md#survey-model-platform-independent-part) and plugins** + + ``` + npm run build_core + npm run build-plugins + ``` + 1. **Build the library** ``` - npm run build_prod + npm run build ``` You can find the built scripts and style sheets in folders under the `build` directory. @@ -72,7 +79,7 @@ Make sure that you have Node.js v14 or later and a compatible npm version instal 1. **Run test examples** ``` - npm start + npm run serve ``` This command runs a local HTTP server at http://localhost:7777/.