Giter Site home page Giter Site logo

qemu-web's Introduction

QEMU Website
============

This repository provides content for the QEMU website.

It uses the Jekyll site generator for turning the static content into
a format which can then be directly hosted by a regular HTTP server
such as Apache.


Testing locally with Jekyll
---------------------------

When adding/changing content on this site, it is possible to run a
local Jekyll service to test the result.

QEMU requires a specific version of Jekyll (listed in Gemfile) which may
not match that provided by your OS vendor. Thus as a one time step the
required Jekyll software should be installed locally:

* Install OS vendor ruby with development headers

   # sudo dnf install ruby ruby-devel   (Fedora)
   # sudo yum install ruby ruby-devel   (RHEL)
   # sudo apt-get install ruby ruby-dev (Debian / Ubuntu)

* Install OS vendor ruby gem bundler

   # sudo dnf install rubygem-bundler  (Fedora)
   # sudo yum install rubygem-bundler  (RHEL)
   # sudo apt-get install bundler      (Debian / Ubuntu)

* Install Jekyll and its dependencies

   # bundle install --path vendor

  NB this last command must be run from the qemu-web.git checkout
  root directory.

Jekyll is now installed into the 'vendor/' directory of the git checkout.
Note the 'vendor/' path has been explicitly excluded from the web content
in '_config.yml', so don't try to use a different path within the git
checkout.

To test the site launch jeykll

  # bundle exec jekyll serve

Now simply point a local web browser to http://127.0.0.1:4000 to browse
the generated site.

Jekyll will usually automatically detect changes to files in the git
checkout and regenerate the site. It is thus not normally necessary
to restart jekyll after changing content, unless it shows signs of being
confused / stale.

qemu-web's People

Contributors

athurh avatar berrange avatar bonzini avatar codyprime avatar ebblake avatar huth avatar kashyapc avatar mdroth avatar raimue avatar raphaelning avatar stefanha avatar stsquad avatar

Watchers

 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.