Browse Source

Document js tool installation in scratch doc

We need the js tools to be present so that zuul from scratch install
docs produce a working javascript build. Add a step to that process to
run our helper script for js toolchain install.

Note this adds support for opensuse to that script as opensuse is a
valid from scratch install target.

Change-Id: I4c3584957f7a4afaeb0315a57d56f93e915eace1
changes/86/678286/1
Clark Boylan 2 years ago
parent
commit
e91e89b2cf
  1. 3
      doc/source/admin/zuul_install.rst
  2. 3
      tools/install-js-tools.sh

3
doc/source/admin/zuul_install.rst

@ -41,6 +41,9 @@ required.
# For openSUSE:
$ zypper install -y $(bindep -b compile)
# All:
$ tools/install-js-tools.sh
# All:
$ sudo pip3 install .
$ sudo zuul-manage-ansible

3
tools/install-js-tools.sh

@ -37,6 +37,9 @@ elif type yum; then
$SUDO curl https://dl.yarnpkg.com/rpm/yarn.repo -o /etc/yum.repos.d/yarn.repo
$SUDO $(dirname $0)/install-js-repos-rpm.sh
$SUDO yum -y install nodejs yarn
elif type zypper; then
$SUDO zypper install -y nodejs10 npm10
$SUDO npm install yarn
elif type brew; then
brew install nodejs yarn
else

Loading…
Cancel
Save