1
0
mirror of https://github.com/minio/docs.git synced 2025-05-28 00:41:14 +03:00
Daryl White 962835b758
Updates for mc RELEASE.2023-08-30T08-02-26Z (#1013)
Adds example output for `mc admin replicate status` to reflect expanded
output.

Closes #988
2023-09-28 14:00:23 -04:00
2023-06-30 16:06:48 -04:00
2021-08-02 16:45:17 -07:00
2022-10-07 13:43:12 -04:00
2020-08-14 18:35:26 -04:00
2022-01-31 14:12:55 -05:00
2023-03-16 12:34:23 -04:00
2023-05-11 16:57:03 -04:00

MinIO Documentation

Build Instructions

MinIO uses Sphinx to generate static HTML pages using ReSTructured Text (rST).

Prerequisites

  • Any GNU/Linux Operating System, or macOS 12.3 or later.
  • python 3.10.x and python-pip
  • python3.10-venv
  • sphinx 4.3.2
  • nodejs 14.5.0 or later
  • npm 16.19.1 or later
  • git or a git-compatible client

Build

NOTE: following instructions do work on macOS for testing purposes, however for production builds GNU/Linux is recommended.

  1. Clone docs repository locally.
git clone https://github.com/minio/docs && cd docs/
  1. Create a new Python virtual environment.
python3 -m venv venv && source venv/bin/activate
  1. Install all the python and nodejs dependencies
pip install -r requirements.txt && npm install && npm run build
  1. Build your desired platform targets.
make linux
make linux k8s container
  1. View the generated documentation at http://localhost:8000.
python -m http.server --directory build/YOUR_BRANCH/<PLATFORM>/html

Stage

The make stage-PLATFORM command uses the mc utility to copy the contents of the current git branch build output for the specified PLATFORM to a configured MinIO or S3-compatible bucket.

For the command to work, you must have a configured mc alias docs-staging with general read/write (s3:*) permissions on the staging bucket. The staging bucket should have public or anonymous access enabled.

For example:

make stage-linux

Does the following:

  1. Check that the build/GITDIR/linux folder exists
  2. Copies the contents of build/GITDIR/linux/html/* to docs-staging/staging/GITDIR/linux

License

This project is licensed under a Creative Commons Attribution 4.0 International License. See CONTRIBUTING.md guide for more information on contributing to the MinIO Documentation project.

NOTE: This work was previously licensed under AGPL3.0. You can find all AGPL3.0 licensed code at commit:73772c7f8485809446cc890188a89ece1afb93f6

Description
Документация по хранилищу объектов MinIO
Readme CC-BY-4.0 38 MiB
Languages
SCSS 32.1%
Python 19.2%
HTML 18.7%
JavaScript 17.9%
Makefile 4.8%
Other 7.3%