Coder Social home page Coder Social logo

parthmonga / chef-fundamentals-ja Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jhotta/chef-fundamentals-ja

0.0 2.0 0.0 3 MB

Opscode Chef Fundamentals training materials

Home Page: http://www.opscode.com/training

License: Other

HTML 1.76% Ruby 35.40% CSS 47.40% JavaScript 15.44%

chef-fundamentals-ja's Introduction

概要

Chefの基礎ドキュメントにようこそ。 これは、トレーニングクラスで使用するマテリアルのソースです。 マテリアルは、プレーンテキスト"Markdown"のフォーマットで記述し、 "ShowOff"という Ruby-based プレゼンアプリケーションで表示しています。

もしもこのページがhttp://localhost:9090にアクセスして見えているなら、 showoffコマンドをslidesディレクトリで実行してください。

#セットアップ

必要条件:

  • Ruby 1.8.7+
  • RubyGems 1.3.7+
  • Rake
  • libxml2 and libxslt development headers (e.g., libxml2-dev and libxslt-dev on Debian/Ubuntu).
gem install bundler
bundle install
rake present # runs bundle exec showoff serve in the slides dir

システムにRubyがどのようにインストールされているかによっては、 sudoを使ってgem installbundle installを実行する必要があります。 更にrakeタスクで次のコマンドが実行されているはずにもかかわらず、 別途slideのディレクトリでbundle exec showoff serveを実行する必要がある場合もあります。

2種類のURLがあります:

講師としてこのマテリアルを使用している時は、"presenter"のビューを使用してください。 この画面では、プレゼンター用に表示枠を追加します。 スライドを前後に移動するためには、キーボードの矢印キーを使用します。 Down/Rightで前進, Up/Leftで後退します。 Spacebarでもスライドを前進させることができます。     

Gemのインストール

slideディレクトリ以下のマテリアルは、showoffのプロジェクトして設定されています。 従って、プレゼンテーションの表示には、showoffが必要ないなります。 showoffでPDFファイルを生成する場合は、pdfkitがインストールされている必要があります。

更に講師が使用する環境では、ChefとKnife EC2のpluginを使いますので、それらのインストールも必要です。

リポジトリーにGemfile.lockコミットしないでください。

Note The current release of ShowOff doesn't include some pull requests adding features that we liked, so the showoff gem is installed from a separate repository.

Note 現リリースのshowoffは、私たちが期待するようなpullリクエストの追加機能を持っていません。 従って、showoffのgemを別のリポジトリーインストールしています。

Slideのディレクトリ

大抵の作業はこのディレクトリ以下で行います。

Rakefile

slides/Rakefileは、そのディレクトリを設定すると同時に、 それぞれのセクションの01_slide.mdを設定します。

rake mksection SECTION=just-enough-ruby-for-chef
** Creating section just-enough-ruby-for-chef **
- populating 01_slide.md

This does not add the section to showoff.json. When contributing a new section, do not add it to the showoff.json file, as that should be reviewed before modifying the base course for everyone.

Slideのスタイルに関するガイド

現在は、最低限の修飾のみです。いづれ改善する予定です。

  • 各セクションにはディレクトリを割り当ててください。
  • 画像にはPNGを使ってください。
  • ディレクトリの名前は、小文字で次のタイトル例のように記述してください"getting-started"。
  • 各ディレクトリには、01_slide.mdが1つ必要で、複数のセクションには後で分割することができます。

Guideのディレクトリ

ハンズオンやプロモーション講習会で生徒の実験環境を構築するには、 ガイドディレクトリのinstructor-setup.md guideを見てください。

Resources

http://daringfireball.net/projects/markdown/syntax https://github.com/schacon/showoff

Contributing

See CONTRIBUTING for information on how you can contribute changes to these materials.

License and Authors

See LICENSE for licensing of these materials and how you may use them.

著者:

翻訳:

chef-fundamentals-ja's People

Contributors

consiliens avatar jhotta avatar juanje avatar

Watchers

 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.