From: Dan Allen Date: Mon, 20 Jul 2020 23:57:20 +0000 (-0600) Subject: document that gulp can be run from within the project X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cfb9c3d0e278a5e82d6beb123d6ee2cc9a32b6d5;p=working%2Feg-antora.git document that gulp can be run from within the project --- diff --git a/README.adoc b/README.adoc index 4bc7b7d..2c674c7 100644 --- a/README.adoc +++ b/README.adoc @@ -98,7 +98,7 @@ Now that you have Node.js installed, you can proceed with installing the Gulp CL You'll need the Gulp command-line interface (CLI) to run the build. The Gulp CLI package provides the `gulp` command which, in turn, executes the version of Gulp declared by the project. -You should install the Gulp CLI globally (which resolves to a location in your user directory if you're using nvm) using the following command: +You can install the Gulp CLI globally (which resolves to a location in your user directory if you're using nvm) using the following command: $ npm install -g gulp-cli @@ -106,12 +106,13 @@ Verify the Gulp CLI is installed and on your PATH by running: $ gulp --version -[TIP] -==== If you prefer to install global packages using Yarn, run this command instead: $ yarn global add gulp-cli -==== + +Alternately, you can use the `gulp` command that is installed by the project's dependencies. + + $ $(npm bin)/gulp --version Now that you have the prerequisites installed, you can fetch and build the UI project.