Go to file
Jason Stirnaman 12b1583b68 chore: add test data and improve test runner:
- Pulls python client lib and CLI from Github repo instead of package repo so we can test the latest release. Specifies the last release tag.
- Adds CSV and JSON home sensor data samples to /static/downloads.
- Test image build bind mounts /static/downloads into /usr/src/app/test/tmp/data. Allows code samples to reference sample data as `./data/[file]`.
- Moves run-tests.sh to setup directory.
- Dockerfile cleanup. Add jq for inspection/troubleshooting.
2024-05-29 13:31:31 -05:00
.ci/vale chore: add test data and improve test runner: 2024-05-29 13:31: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: add test data and improve test runner: 2024-05-29 13:31:31 -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 document show retention policies InfluxQL statement (#5474) 2024-05-17 08:26:47 -06: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: add test data and improve test runner: 2024-05-29 13:31:31 -05:00
.gitignore feat(v3): Restructure API docs for v3 (#5408) 2024-04-09 17:02:12 -06:00
.prettierrc.yaml fix: Authorization, not Authentication, header (#3342) 2021-11-03 16:53:56 -05:00
.s3deploy.yml added font file extensions to s3deploy caching config 2019-01-19 08:30:43 -07:00
.vale.ini Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
CONTRIBUTING.md Docu: fix broken link (#5410) 2024-04-08 16:07:49 -06: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: add test data and improve test runner: 2024-05-29 13:31:31 -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: add test data and improve test runner: 2024-05-29 13:31:31 -05:00
test.Dockerfile chore: add test data and improve test runner: 2024-05-29 13:31:31 -05:00
test.sh Strategies to improve query performance: operations, number and size … (#5215) 2024-03-15 18:40:38 -05:00
yarn.lock chore: add test data and improve test runner: 2024-05-29 13:31:31 -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.