Skip to content

Commit

Permalink
Fix installation instructions (#86)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrés Pereira de Lucena <[email protected]>
  • Loading branch information
microstudi and andreslucena authored Mar 14, 2022
1 parent 7e55f2f commit 8afebec
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,20 @@ This is the repository for the [Decidim Documentation website](https://docs.deci
[Install antora](https://docs.antora.org/antora/2.3/install-and-run-quickstart/) with software dependencies.

```bash
# Install Node & npm using nvm
# Install Node and Npm, for instance using nvm:
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
nvm install node

# Install Antora and dependencies
npm install

# If antora installation succeed, `antora -v` will return antora's version.

# Clone repository and build documentation website.
git clone https://github.com/decidim/documentation
cd documentation

# Install Antora and dependencies
npm install

# build the static site
npm run build

# The generated website will be create under ```build/site/``` folder. Open ```index.html``` with any browser.
Expand Down

0 comments on commit 8afebec

Please sign in to comment.