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
tags/3.10.2
Clark Boylan 2 months ago
parent
commit
e91e89b2cf
2 changed files with 6 additions and 0 deletions
  1. 3
    0
      doc/source/admin/zuul_install.rst
  2. 3
    0
      tools/install-js-tools.sh

+ 3
- 0
doc/source/admin/zuul_install.rst View File

@@ -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
- 0
tools/install-js-tools.sh View File

@@ -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