Code Monkey home page Code Monkey logo

ryu-book's Introduction

ryu-book

Currently, Japanese, English, Chinese and Korean editions are available. You can get the various formats; pdf, mobi, epub, and html (automatically updated every time the source is updated) at:

Building Ryu-Book on local

Before building the Ryu-Book for each language, please set up the building environment as follow.

Ubuntu 16.04 LTS:

# Install the requirements
$ sudo apt-get update
$ sudo apt-get -y install inkscape texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended

# Set up the building environment
# Note: It is highly recommended to use a virtualenv.
$ sudo pip install virtualenv
$ virtualenv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt
(venv) $ python setup.py install

# e.g.) Build the English version
(venv) $ bash ./build.sh en

Building Ryu-Book on Travis-CI

You can build the Ryu-Book on Travis-CI and deploy to the GitHub pages on your forked repository. For setting up your Travis-CI environment, please create your GItHub Personal access tokens first. If your repository is public, please enable "public_repo" scope. And please set your GitHub token into .travis.yml by using travis command as follow.

$ gem install travis
$ travis encrypt -r <your Travis-CI account>/ryu-book GH_TOKEN=<your GitHub token> --add

Please confirm the encrypted GitHub token is updated in .travis.yml.

$ git diff .travis.yml
...(snip)
 env:
   global:
-    secure: <original GitHub token>  # if exist, remove original one
+  - secure: <your GitHub token(encrypted)>

By the default, Travis-CI will build "master" branch only. If you want to build other branches, please modify "branches.only" key in .travis.yml as follow.

$ git diff .travis.yml
...(snip)
 branches:
-  only:
-  - master
+  except:
+  - gh-pages
 install:
...(snip)

Finally, please add your forked repository on your Travis-CI and enable "Build only if .travis.yml is present" and "Build pushes" at "General Settings" for your repository. Then, your can see your "own" Ryu-Book should be built on Travis-CI when pushing your branches to your repository.

Note: If you have modified .travis.yml for your repository, please do NOT merge it to upstream of Ryu-Book.

ryu-book's People

Contributors

cloudysunny14 avatar fujita avatar hisaharu avatar ianychoi avatar iwaseyusuke avatar izacarias avatar peteryui avatar satosi-k avatar shinpeimuraoka avatar takahashiminoru avatar watanabefumitaka avatar yamt avatar ykaneko avatar yokoi-h avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ryu-book's Issues

Scrollbar is almost invisible in Chrome on macOS

The scrollbar is white, slightly transparent, and disappears after a moment in both Chrome and Safari on macOS. Chrome has a larger issue though because the scrollbar has no border there. I have not tested other OSs or browsers.

The scrollbar being so close to invisible is disorienting on tall pages.

It looks like this is a bug for Sphinx versions below 2.2.0. I see this project is currently using 1.4.9.
sphinx-doc/sphinx#1125

I've tested that this can be resolved by editing the css, such as with this JS that I'm using in Tampermonkey: document.styleSheets[1].insertRule('html { background-color: #FFF }');

Thanks for considering my feedback

Starting ryu controller

Hi, I am new to ryu. I encountered this problem while starting up ryu controller.
I used this command to start it:
PYTHONPATH=. ./bin/ryu-manager ryu/app/simple_switch_13.py
but it reports an error:
ImportError: cannot import name abc
Anyone ever met this problem? Please help me. Thanks

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.