Edit README.md
- Use ordered list for instructions - Other formatting changespull/570/head
parent
e8941ae6c9
commit
ba63fa57a5
61
README.md
61
README.md
|
@ -6,44 +6,45 @@
|
||||||
This repository contains the InfluxDB 2.x documentation published at [docs.influxdata.com](https://docs.influxdata.com).
|
This repository contains the InfluxDB 2.x documentation published at [docs.influxdata.com](https://docs.influxdata.com).
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
We welcome and encourage community contributions. For information about contributing to the InfluxData documentation, see [Contribution guidelines](CONTRIBUTING.md).
|
We welcome and encourage community contributions.
|
||||||
|
For information about contributing to the InfluxData documentation, see [Contribution guidelines](CONTRIBUTING.md).
|
||||||
|
|
||||||
## Reporting a Vulnerability
|
## Reporting a Vulnerability
|
||||||
InfluxData takes security and our users' trust very seriously.
|
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,
|
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.
|
please responsibly disclose it by contacting security@influxdata.com.
|
||||||
More details about security vulnerability reporting,
|
More details about security vulnerability reporting,
|
||||||
including our GPG key, can be found here. https://www.influxdata.com/how-to-report-security-vulnerabilities/
|
including our GPG key, can be found at https://www.influxdata.com/how-to-report-security-vulnerabilities/.
|
||||||
|
|
||||||
## Run the docs locally
|
## Running the docs locally
|
||||||
The InfluxData documentation uses [Hugo](https://gohugo.io/), a static site
|
|
||||||
generator built in Go.
|
|
||||||
|
|
||||||
### Clone this repository
|
1. [**Clone this repository**](https://help.github.com/articles/cloning-a-repository/) to your local machine.
|
||||||
[Clone this repository](https://help.github.com/articles/cloning-a-repository/)
|
|
||||||
to your local machine.
|
|
||||||
|
|
||||||
### Install Hugo
|
2. **Install Hugo**
|
||||||
See the Hugo documentation for information about how to
|
|
||||||
[download and install Hugo](https://gohugo.io/getting-started/installing/).
|
|
||||||
|
|
||||||
### Install NodeJS & Asset Pipeline Tools
|
The InfluxData documentation uses [Hugo](https://gohugo.io/), a static site generator built in Go.
|
||||||
This project uses tools written in NodeJS to build and process stylesheets and javascript.
|
See the Hugo documentation for information about how to [download and install Hugo](https://gohugo.io/getting-started/installing/).
|
||||||
In order for assets to build correctly, [install NodeJS](https://nodejs.org/en/download/)
|
|
||||||
and run the following command to install the necessary tools:
|
|
||||||
|
|
||||||
```sh
|
3. **Install NodeJS & Asset Pipeline Tools**
|
||||||
npm i -g postcss-cli autoprefixer
|
|
||||||
```
|
|
||||||
|
|
||||||
### Start the hugo server
|
This project uses tools written in NodeJS to build and process stylesheets and javascript.
|
||||||
Hugo provides a local development server that generates the HTML pages, builds
|
In order for assets to build correctly, [install NodeJS](https://nodejs.org/en/download/)
|
||||||
the static assets, and serves them at `localhost:1313`.
|
and run the following command to install the necessary tools:
|
||||||
|
|
||||||
Start the hugo server with:
|
```
|
||||||
|
npm i -g postcss-cli autoprefixer
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
4. **Start the Hugo server**
|
||||||
hugo server
|
|
||||||
```
|
|
||||||
|
|
||||||
View the docs at [localhost:1313](http://localhost:1313).
|
Hugo provides a local development server that generates the HTML pages, builds
|
||||||
|
the static assets, and serves them at `localhost:1313`.
|
||||||
|
|
||||||
|
Start the Hugo server from the repository:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ cd docs-v2/
|
||||||
|
$ hugo server
|
||||||
|
```
|
||||||
|
|
||||||
|
View the docs at [localhost:1313](http://localhost:1313).
|
||||||
|
|
Loading…
Reference in New Issue