Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Gatling documentation

Prerequisites

You need Go, Hugo, and DartSass installed.

E.g. on a Mac with Homebrew:

brew install go
brew install hugo
brew trust dart-lang/dart
brew install sass/sass/sass

Installation

Either way, once launched, you can visit at http://localhost:1313

Docker-compose

This project provides a docker-compose.yml configuration

docker-compose up

Local

./bin/entrypoint.sh

Or manually:

hugo mod get -u
hugo mod npm pack
npm install
hugo server

Troubleshooting

Invalid version: unknown revision

In case of issues such as:

go: github.com/gatling/gatling.io-doc-theme@v0.0.0-20240222160400-c0fbf7866574: invalid version: unknown revision c0fbf7866574

In the file go.mod, in the last line (with the require keyword), replace the hash with main:

 module github.com/gatling/gatling

 go 1.21

-require github.com/gatling/gatling.io-doc-theme v0.0.0-20240220083005-6f637476df1d // indirect
+require github.com/gatling/gatling.io-doc-theme main // indirect

Then, run hugo mod get -u.

Template for shortcode "img" not found

In case of issues such as:

failed to extract shortcode: template for shortcode "img" not found

Run hugo mod clean.

Update Hugo

If you continue to encounter errors, check your installation of Hugo is up-to-date and that you are using the extended edition.

Check the official documentation for all the details.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages