Skip to content

Vmihajlovic/docs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k6 Documentation

Staging Production

This repo contains the source code of the k6 documentation.

Install and run in Docker

This uses docker-compose and port 8100.

git clone git@github.com:k6io/docs.git
cd docs

docker-compose  up -d --build

Note that starting up the docker takes several minutes, during which the website will not be accessible. Use docker-compose logs -f web to track progress.

Then visit http://localhost:8100

If you want to re-run the --build command you may get an error about not having access to delete a cache/ folder. Use sudo to delete this manually before retrying.

Manual Installation

In node 12.x:

git clone git@github.com:k6io/docs.git
cd docs
npm install

Running manually:

npm start

Visit http://localhost:8000

Deployment

To staging

All pull requests merged to master will result in an automatic deployment to the staging environment.

To production

All tags created using the format vN.N.N, for instance v0.0.1, will result in an automatic deployment to the production environment. Tags can either be created and pushed from the git cli, or from https://github.com/k6io/docs/releases

Contributing

Documentation articles are markdown files structured under the src/data/markdown/docs folder.

The markdown files support a few custom extensions explained on the File Format Guide.

About

The k6 documentation website.

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.9%
  • SCSS 27.4%
  • Other 0.7%