Git Product home page Git Product logo

linuxcontainers.org's Introduction

linuxcontainers.org

This branch contains the content and site generator of the https://linuxcontainers.org website.

Contributing

Fixes, new content and translations are greatly appreciated. Read our contributing guidelines for details.

Open Issues

Take a look at the open issues on Github, to see where you could help.

Generate & run a local copy

To generate & run a local copy of the website, follow the instructions below.

Dependencies

Install the following software (naming may depends on your distribution):

  • man2html-base
  • python3 (>= 3.3)
  • python3-bs4
  • python3-jinja2
  • python3-markdown (>= 3.3.4)
  • python3-pygments
  • pymdown-extensions

Clone the repo

git clone https://github.com/lxc/linuxcontainers.org

Note: The folder downloads is quite big, so you can skip that folder by using git sparse-checkout & partial clones (The only exception is, when you work on the downloads page).

As a replacement for the missing downloads folder you need to create the following empty folders, before generating the website (otherwise the generator shows an error):

downloads/cgmanager/
downloads/distrobuilder/
downloads/lxc/
downloads/lxcfs/

All steps for creating a sparse checkout

#!/bin/bash

git clone --filter=blob:none --no-checkout [email protected]:lxc/linuxcontainers.org.git
cd linuxcontainers.org
git sparse-checkout set --no-cone
echo -e '/*\n!downloads' > .git/info/sparse-checkout
git checkout main
mkdir -p downloads/{incus,lxc,lxcfs,distrobuilder,cgmanager}

Generating the website

./generate

Launching the website

After generating the website(above), run these commands(Ubuntu-specific):

cd output
python3 -m http.server 8777

Now you can access the website in your browser by using your local IP address and port:

127.0.0.1:8777

(Alternative) Launching within a container

Inside the container:

Install the dependencies, clone the repo and generate the website (same as above).

After generating the website, run these commands(Ubuntu-specific):

cd output
python3 -m http.server 8777

On the host:

You can now navigate to the site (in a browser of your choice) with the container's IP address, for example:

185.5.3.12:8777

Man pages

Download the man pages from jenkins https://jenkins.linuxcontainers.org/job/lxc-build-tarballs/ and unzip them into the respective folder. For LXC:

tar xvf manpages.tar.gz -C linuxcontainers.org/manpages/lxc/

Ensure that man2html is installed. ./generate calls this tool and injects the main menu on top.

To install man2html:

apt install man2html

Bug reports & Content requests

Bug reports, requests and ideas regarding the website can be filed at https://github.com/lxc/linuxcontainers.org/issues/new

linuxcontainers.org's People

Contributors

stgraber avatar tenforward avatar ru-fu avatar hallyn avatar toby63 avatar bensmrs avatar anthonydillon avatar ervinismu avatar techtonik avatar deadlight avatar dann1 avatar petermichaux avatar zipperer avatar ysbnim avatar galeksandrp avatar edlerd avatar websnke avatar sergiusens avatar dmole avatar togawa-sakiko avatar t-var-s avatar shazaum avatar itsnikolay avatar m-shibata avatar fearthebadger avatar clarkwinkelmann avatar evgeni avatar hnakamur avatar javacruft avatar come-maiz avatar

Stargazers

Toru Komatsu avatar Yuki Shimazu avatar YABUKI Yukiharu avatar Neos21 avatar  avatar Kodai Sakabe avatar

Watchers

Kazuhiro NISHIYAMA avatar Shozo TAKEOKA avatar  avatar James Cloos avatar

linuxcontainers.org's Issues

LXD 3.13 アナウンス翻訳

ここしばらくのパターン通り、Bugfix のセクションはやりませんので誰かやってくれる人がいればお願いします。

色々英語ドキュメントとの同期

日本語以外の翻訳はメンテされてないってことで削除されました。日本語も積み残しが大量にあるのでがんばっていきましょー

日本語版更新が必要な upstream の Pull request(マージ順)

  • 507
  • 508
  • 509
  • 506
  • 511
  • 510
  • 519
  • 522(修正の必要があるかどうか未確認)
  • 525
  • 526(index.ja.html は更新済み、lxd/introduction がまだ)
  • 527 (526のindex.ja.htmlの変更で済)
  • 530
  • 504
  • 531
  • 548
  • 550
  • 551
  • 558 (getting-started-cli)
  • 568
  • 572
  • 575, 577

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.