Skip to content
This repository has been archived by the owner on Dec 4, 2017. It is now read-only.

本地构建测试文档 #169

Open
brucehex opened this issue Sep 20, 2017 · 2 comments
Open

本地构建测试文档 #169

brucehex opened this issue Sep 20, 2017 · 2 comments

Comments

@brucehex
Copy link
Member

brucehex commented Sep 20, 2017

Step1 . Clone code

git clone https://github.com/k8smeetup/k8smeetup.github.io

Step2. Write the docker-compose.yml file

version: '2'
services:
  jekyll:
    image: cargo.caicloud.io/kubernetes/jekyll:v1
    command: jekyll serve --watch --incremental
    ports:
      - 4000:4000
    volumes:
      - ./k8smeetup.github.io:/srv/jekyll

Step3. Run and view the browser

docker-compose up -d

Open chrome address: http: // localhost:4000
Note: If the localhost is running localhost instead of the server IP

@rootsongjc
Copy link

能否直接像kubernetes的官方文档那样直接使用netlify来构建呢?这样就不需要在本地安装任何配置。

@markthink
Copy link
Member

本地启也非常简单, netlify 没有用过,官网也不是用 netlify 构建的吧..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants