diff --git a/README.md b/README.md index 0e58f71a..27b05005 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Documentation is build using [Docusaurus](https://docusaurus.io/docs/en/doc-mark ### Preparing environment -Running the documentation locally requires [NodeJS](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com/) to be installed. Inside a cloned fork of this repository, run `script/bootstrap`. +Running the documentation locally requires [NodeJS](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com/) to be installed. Inside a cloned fork of this repository, run `script/setup`. ### Running docs locally diff --git a/script/setup b/script/setup new file mode 100755 index 00000000..8357b646 --- /dev/null +++ b/script/setup @@ -0,0 +1,8 @@ +#!/bin/sh +# Setups the repository. + +# Stop on errors +set -e + +cd "$(dirname "$0")/.." +script/bootstrap