Go to file
Jason Stirnaman e0097c9b95 fix: whitespace 2024-06-24 15:51:08 -05:00
.ci/vale fix(ci): Vale format and custom vocabularies 2024-05-29 17:42:31 -05:00
.circleci Docu: fix broken link (#5410) 2024-04-08 16:07:49 -06:00
.github Update new feature issue template 2022-04-14 16:08:59 -06:00
.husky chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
.vscode chore(ci): Add vale script, configuration, and fixes (#5081) 2023-08-11 13:50:31 -05:00
api-docs Merge remote-tracking branch 'origin/master' into jstirnaman/issue5463 2024-05-16 12:50:53 -05:00
assets document influxql subqueries (#5470) 2024-05-14 13:06:04 -06:00
content fix: whitespace 2024-06-24 15:51:08 -05:00
data fix(flux): cumulativeSum page not found (#5453) 2024-05-09 16:11:41 -05:00
deploy Upgrade hugo to latest version 0.120.4 (#5241) 2023-11-27 13:39:23 -07:00
flux-build-scripts fix: update flux version script to pull nightly versions from main-2.x 2023-12-04 10:32:21 -07:00
layouts Adding alternative downsampling examples - Using Quix (#5451) 2024-05-16 13:12:15 -06:00
resources Add files via upload (#4395) 2022-10-06 13:32:02 -06:00
shared/text fix broken curl post commands (#5423) 2024-04-15 15:20:24 -06:00
static chore: add test data and improve test runner: 2024-05-29 13:31:31 -05:00
test chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
.editorconfig chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
.gitignore chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
.lintstagedrc.mjs chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
.prettierignore chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
.prettierrc.yaml chore: Write data improvements 2024-06-24 15:42:10 -05:00
.s3deploy.yml added font file extensions to s3deploy caching config 2019-01-19 08:30:43 -07:00
.vale.ini fix(ci): Vale format and custom vocabularies 2024-05-29 17:42:31 -05:00
CONTRIBUTING.md chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
Dockerfile.pytest chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
Dockerfile.tests chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
LICENSE added license and issue template, moved security.md 2019-10-07 10:27:36 -06:00
README.md docs: Add docker compose workflow for running docs locally (#5400) 2024-04-01 12:17:07 -05:00
compose.yaml chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
hugo.staging.toml add JSON page lists for use in the v3 UI (#5363) 2024-03-14 09:32:04 -06:00
hugo.toml add JSON page lists for use in the v3 UI (#5363) 2024-03-14 09:32:04 -06:00
package.json chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00
yarn.lock chore(ci): Improve CI lint and test runners 2024-06-21 18:41:07 -05:00

README.md

InfluxDB 2.0 Documentation

This repository contains the InfluxDB 2.x documentation published at docs.influxdata.com.

Contributing

We welcome and encourage community contributions. For information about contributing to the InfluxData documentation, see Contribution guidelines.

Reporting a Vulnerability

InfluxData takes security and our users' trust very seriously. If you believe you have found a security issue in any of our open source projects, please responsibly disclose it by contacting security@influxdata.com. More details about security vulnerability reporting, including our GPG key, can be found at https://www.influxdata.com/how-to-report-security-vulnerabilities/.

Running the docs locally

  1. Clone this repository to your local machine.

  2. Install NodeJS, Yarn, Hugo, & Asset Pipeline Tools

    The InfluxData documentation uses Hugo, a static site generator built in Go. The site uses Hugo's asset pipeline, which requires the extended version of Hugo along with NodeJS tools like PostCSS, to build and process stylesheets and JavaScript.

    To install the required dependencies and build the assets, do the following:

    1. Install NodeJS

    2. Install Yarn

    3. In your terminal, from the docs-v2 directory, install the dependencies:

      cd docs-v2
      yarn install
      

      Note: The most recent version of Hugo tested with this documentation is 0.123.8.

  3. To generate the API docs, see api-docs/README.md.

  4. Start the Hugo server

    Hugo provides a local development server that generates the HTML pages, builds the static assets, and serves them at localhost:1313.

    In your terminal, start the Hugo server:

    npx hugo server
    
  5. View the docs at localhost:1313.

Alternative: Use docker compose

  1. Clone this repository to your local machine. See how to clone a repository.

  2. Follow the instructions to install Docker Desktop and Docker Compose to your local machine.

  3. Use Docker Compose to start the Hugo server in development mode--for example, enter the following command in your terminal:

    docker compose up local-dev
    
  4. View the docs at localhost:1313.