GithubHelp home page GithubHelp logo

alibaba / tengine-website-generator Goto Github PK

View Code? Open in Web Editor NEW
15.0 9.0 17.0 76.75 MB

Tengine and Tengine-Ingress website generator

Home Page: https://tengine.taobao.org

Shell 0.31% JavaScript 4.98% CSS 2.58% HTML 87.93% Dockerfile 0.07% EJS 4.13%

tengine-website-generator's Introduction

Tengine WebSite

准备环境

为了考虑多数人不熟悉js,使用docker自动构建需要操作的环境。

Mac OSx,需要使用 https://download.docker.com/mac/stable/Docker.dmg 或老的docker tools来准备本地环境。

Ubuntu/Centos就比较简单了,随便安一个能起docker的内核和软件包就好了。

# 依赖工具
sudo yum instal nodejs
# 准备源码
git clone [email protected]:soulteary/tengine-website-generator.git
# 依赖组件
sudo npm install --production --registry=https://registry.npm.taobao.org --silent
# 构建镜像
sudo ./ctl.sh build-image

开发模式

# 方便一边修改文档&脚本,一边预览网站结果
sudo ./ctl.sh dev

打开浏览器 localhost:4000

随便修改内容,然后网站会有变化。

生成模式

sudo ./ctl.sh release

#进容器后输入
hexo g

# CTRL+D
# 把public内容都扔tengine-website即可。

部署网站

sudo ./ctl.sh deploy

tengine-website-generator's People

Contributors

chobits avatar drawing avatar lianglli avatar mengqiwu avatar mrpre avatar soulteary avatar taoyuanyuan avatar wangfakang avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.