Giter Club home page Giter Club logo

kiali.io's Introduction

Kiali.io

title="Netlify Status"

This repository contains the source code for the http://kiali.io website.

The website is written using markdown, the Docsy theme, and generated using Hugo. It is hosted on Github and deployed using netlify.

Table of Contents

Requirements

To run the website locally, you will need:

Generally podman is easier to setup.

Configuring and Running

Hugo has a command to run a small, self-contained web server locally, so you can test the website without having to upload/deploy it anywhere. The server supports live-reload, so changes to the content will reflect into the browser as they happen.

To run the server, you need to run the following on a terminal:

make serve

โš ๏ธ If you are using Docker, you need to set DORP when starting the server; e.g:

make -e DORP=docker serve

On ARM-based Macs, you'll need to run following command first:

export DOCKER_DEFAULT_PLATFORM=linux/amd64

If everything is working as expected, you should see something like this (if not see Upgrading Hugo Version):

                   | EN
-------------------+------
  Pages            | 151
  Paginator pages  |   0
  Non-page files   |   1
  Static files     | 323
  Processed images |   2
  Aliases          |   4
  Sitemaps         |   1
  Cleaned          |   0

Built in 1313 ms
Environment: "development"
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 0.0.0.0)
Press Ctrl+C to stop

The server should be available on http://localhost:1313. Some files might not be supported for live reload. If, for some reason, you are not seeing your changes appearing you may need to restart the server.

Upgrading Hugo version

The current version of Hugo used to build the site is defined in netlify.toml and in the Makefile. Make sure the versions defined in both places are the same or, at minimum, compatible. If make serve fails you may need to upgrade Hugo.

When upgrading to a new version of Hugo, change the versions in both files mentioned above and then rebuild your dev container image by passing in -e FORCE_BUILD=true when running make (e.g. make -e FORCE_BUILD=true build-hugo).

Documentation Versioning

The documentation is versioned using a branch strategy. The staging branch holds all new content. On each Kiali release staging will be captured in the current branch and the former current branch will be captured in a versioned branch. This typically happens every three weeks. Changes to staging will be applied to all future releases. Backport or update the current, or any other versioned branch, as needed.

Production Deployment

Deployment is done automatically when a pull request is merged, and preview deployments are also done for each PR, so you can verify that your changes will work in production before actually deploying.

Directory Structure

The directory structure is typical for projects using the Docsy theme. A couple of notes:

  • The site only supports English and as such, all content is under content/en.
  • The site minimizes customization but custom CSS is found in assets/scss.
  • The site keeps consolidates static content under static.
    • e.g. images are under static\images

License and Code of Conduct

The kiali.io website, like the other kiali-related projects are licensed under the Apache License 2.0. It also follows the Kiali Community Code of Conduct.

kiali.io's People

Contributors

abonas avatar aljesusg avatar burmanm avatar cfcosta avatar dependabot[bot] avatar didier-durand avatar ferhoyos avatar hhovsepy avatar iblancasa avatar israel-hdez avatar jmazzitelli avatar josejulio avatar josunect avatar jotak avatar jshaughn avatar jstickler avatar leandroberetta avatar lucasponce avatar mtho11 avatar mwringe avatar neal-timpe avatar nrfox avatar pilhuhn avatar premkirank avatar saurabhsadhale avatar scriptingshrimp avatar shivaylamba avatar theute avatar xeviknal avatar xunzhuo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.