Git Product home page Git Product logo

superset-doc-zh's Introduction

翻译原因

我在学习Superset的工程中发现相关的资料较少,我决定自己翻译一下Superset的官方文档。本文档基于Superset 2.0.0。

GihHub Pages的地址为 http://zhaoweilong.github.io/superset-doc-zh

Gitee Pages的地址为 http://zhaoweilong0220.gitee.io/superset-doc-zh

本地运行中文翻译的文档

npm run start -- --locale zh-Hans

构建中文的静态文件

npm run build -- --locale zh-Hans

#使用deploy部署 在使用deploy部署到GitHub时,deploymentBranch的值需要指定一下,我设置的值为 gh-deploy. GIT_USER的值可以通过配置配置环境来设置,之后就可以直接运行yarn deploy -- --locale zh-Hans

cmd /C "set "GIT_USER=<GITHUB_USERNAME>" && yarn deploy -- --locale zh-Hans"

docker部署

Dockerfile内容

FROM nginx
COPY build /usr/share/nginx/html

构建Image

docker  build -t superset-doc-zh .

运行

docker run --name superset-doc-zh -d -p 8080:80 superset-doc-zh

superset-doc-zh's People

Contributors

zhaoweilong avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar Kostas Georgiou avatar

superset-doc-zh's Issues

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.