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

本地构建测试文档 #169

Description

@brucehex

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions