Source for the istio.io site
Go to file
Martin Taillefer 1f69ebd1a4 Update Mixer FAQ answer. (#324) 2017-05-23 19:42:14 -07:00
_data Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
_docs Update metrics task and images (#311) 2017-05-23 14:14:02 -07:00
_faq Update Mixer FAQ answer. (#324) 2017-05-23 19:42:14 -07:00
_glossary Fix a couple broken glossary entries. 2017-05-18 10:16:01 -07:00
_includes made header logo only disappear on landing page (#316) 2017-05-23 11:17:30 -07:00
_layouts Update Mixer FAQ answer. (#324) 2017-05-23 19:42:14 -07:00
_posts Istio Blog Post for 0.1 announcement. (#326) 2017-05-23 17:42:54 -07:00
_sass fixed browser chrome covering the down arrow on mobile browsers (#323) 2017-05-23 15:33:02 -07:00
about Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
blog Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
bugs fixing link to user submitted bugs (#277) 2017-05-18 15:01:08 -04:00
community Fix image sizes on mobile community page. 2017-05-22 15:03:25 -07:00
css A few formatting fixes. 2017-05-21 00:27:20 -07:00
faq Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
favicons Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
img Istio Blog Post for 0.1 announcement. (#326) 2017-05-23 17:42:54 -07:00
js wrapped prismjs code blocks in a div so we can do overflow:auto without it breaking the shadows (#318) 2017-05-23 13:53:19 -07:00
repos Describe support for fancy preformatted block stuff. 2017-05-18 21:15:55 -07:00
scripts Refresh auto-generated command line reference docs (#141) 2017-05-09 18:15:03 -04:00
search Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
troubleshooting Fix bad table creation in troubleshooting doc (#325) 2017-05-23 17:17:27 -07:00
.gitignore New doc nav (#47) 2017-04-21 21:46:12 -07:00
.gitmodules Describe support for fancy preformatted block stuff. 2017-05-18 21:15:55 -07:00
CNAME update CNAME 2017-03-15 14:43:09 -04:00
CONTRIBUTING.md Update the community page. 2017-04-06 14:32:09 -07:00
Gemfile Fixing remaining bad links and html errors (#236) 2017-05-16 15:09:03 -07:00
Gemfile.lock Fixing remaining bad links and html errors (#236) 2017-05-16 15:09:03 -07:00
Jenkinsfile Adds check (#243) 2017-05-16 15:59:06 -07:00
LICENSE Fix copyright. 2017-05-18 12:40:46 -07:00
README.md added some instructions to help non-linux users build the website (#206) 2017-05-19 12:07:49 -04:00
Rakefile Fixing remaining bad links and html errors (#236) 2017-05-16 15:09:03 -07:00
_config.yml Fixing site errors, and ignore repos/*.{html,md} for generation (#300) 2017-05-22 11:28:13 -07:00
feed.xml Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
index.html Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
robots.txt Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
sitemap.xml Move everything back out of the src directory since its make GitHub Pages unhappy. 2017-05-15 21:53:10 -07:00
true-index.html adding missing alt that broke jenkins 2017-05-22 14:03:43 -07:00

README.md

istio.github.io

This repository contains the source code for the istio.io web site.

Please see the main Istio README file to learn about the overall Istio project and how to get in touch with us. To learn how you can contribute to any of the Istio components, please see the Istio contribution guidelines.

The website uses Jekyll templates and is hosted on GitHub Pages. Please make sure you are familiar with these before editing.

To run the site locally with Docker, use the following command:

docker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll  -it -p 127.0.0.1:4000:4000 jekyll/jekyll jekyll serve

Make sure you are not introducing html errors or bad links:

docker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll  -it  jekyll/jekyll sh -c "bundle install && rake test"
HTML-Proofer finished successfully.

Side note for those on non-linux machines

If you're developing locally but not on a Linux machine, you have a couple options. You can opt to use Docker for Mac / Docker for Windows. This will give you a docker environment from which to run the above docker container (which has all the of the correct Jekyll dependencies and Ruby versions installed). Alternatively, you could use minikube.

If doing Istio development on Kubernetes locally with minikube and native virtualization (for example, on Mac OS X withxhyve driver, then bootstrap like this:

minikube start --vm-driver=xhyve

You can see more about this command and how to install the xhyve drivers by taking a look at the xhyve driver documentation

Then build and run the website with minikube and bind to your minikube ip like this:

docker run --rm --label=jekyll  --volume=$(pwd):/srv/jekyll  -it -p $(minikube ip):4000:4000 jekyll/jekyll jekyll serve 

To see the web page locally on localhost:4000, you can port-forward the minikube port 4000 to your local machine. Run this command in a separate tab/window:

minikube ssh -- -vnNTL *:4000:$(minikube ip):4000 

Alternatively, if you just want to develop locally w/o Docker/Kubernetes/Minikube, you can try installing Jekyll locally. You may need to install other prerequisites manually (which is where using the docker image shines). Here's an example of doing so for Mac OS X:

$ xcode-select --install
$ brew install ruby
$ sudo gem install bundler
$ sudo gem install jekyll
$ cd istio.github.io
$ bundle install
$ bundle exec jekyll build
$ bundle exec jekyll serve