Giter Site home page Giter Site logo

greenbone / docs Goto Github PK

View Code? Open in Web Editor NEW
21.0 20.0 30.0 6.44 MB

Documentation for the Greenbone Community Edition

Home Page: https://greenbone.github.io/docs/

License: Creative Commons Attribution Share Alike 4.0 International

Makefile 3.00% CSS 19.89% Python 22.86% Shell 54.25%
greenbone openvas gvm docker documentation container docker-compose source source-build openvas-container

docs's Introduction

Greenbone Logo

Documentation for the Greenbone Community Edition

The documentation is build automatically via GitHub Actions and available at https://greenbone.github.io/docs/

Requirements

For a manual build locally Python >= 3.9 and poetry is required.

Install Poetry

The project requires poetry >= 1.8.0.

To install poetry it is recommended to use pipx. pipx can be installed with the following command on Debian based systems:

sudo apt install pipx

Install poetry using pipx

python3 -m pipx install poetry

Install and Upgrade Dependencies

When building the docs you should ensure that all the dependencies are installed and up to date. To install for the first time or to update the project dependencies via poetry run:

poetry install

You should run this command once a week to install the latest dependencies.

Manual Build

After installing poetry and the project's dependencies, the docs can be built with:

poetry run make html

To open the generated HTML docs with Firefox you can run:

firefox _build/html/index.html

Auto Rebuild

Alternatively it is possible to start a local HTTP server that automatically rebuilds the docs on every file change:

poetry run make livehtml

To open the served docs with Firefox you can run:

firefox http://127.0.0.1:8000

Starting From Scratch

If something is wrong with your dependencies or you just want to re-start from a clean environment you need to remove the virtual environment. First of all ensure that poetry's virtual environment is placed within the project:

poetry config virtualenvs.in-project true

Afterwards the virtual environment including all installed dependencies can be deleted:

rm -rf .venv

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.