You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Background

How to Set up Environment

  • Install Ruby with RVM (http://rvm.io/

    curl -sSL https://get.rvm.io | bash -s stable
    source ~/.profile
    rvm install ruby
  • Use Ruby and Gem (https://rubygems.org/) to install Jekyll 

    rvm list
    rvm use ruby
    gem install jekyll
  • Clone Eagle Document Site

    git clone https://github.com/apache/incubator-eagle.git 
    cd incubator-eagle
    git checkout origin/document -b document
  • Build and Preview Eagle Document Site (url is http://127.0.0.1:4000/ by default)

    $ cd website
    $ jekyll serve
    /Users/hao/.rvm/gems/ruby-2.2.0/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:135: warning: Insecure world writable dir /usr/local in PATH, mode 040777
    Configuration file: /Users/hao/Workspace/incubator-eagle/website/_config.yml
                Source: /Users/hao/Workspace/incubator-eagle/website
           Destination: /Users/hao/Workspace/incubator-eagle/website/_site
          Generating...
                        done.
     Auto-regeneration: enabled for '/Users/hao/Workspace/incubator-eagle/website'
    Configuration file: /Users/hao/Workspace/incubator-eagle/website/_config.yml
        Server address: http://127.0.0.1:4000/
      Server running... press ctrl-c to stop.

How to Write Document

How to Publish

 

 

  • No labels