Giter Site home page Giter Site logo

baishancloud's Introduction

Baishancloud Official Website

测试地址: http://172.18.2.32 官网项目,基于 Jekyll 进行开发。

项目结构

- _data            // 格式化好的数据。例如该目录下有news文件,可以通过site.data.news获取news文件的内容
  - customers      // 首页客户
  - index-product  // 首页产品
  - navbar         // 导航条
  - news           // 新闻
- _includes        // 类似一个个组件,用{% include learn-more.html %}将组件插入页面中
  - bottom         // 底部
  - head           // 头部
  - learn-more     // 了解更多(表单)
  - navbar         // 导航条
- _layouts         // 布局,模板
  - default        // 默认模板
- _site            // 一旦Jekyll完成转换,就会将生成的页面放在这里(默认)
- index                      // 首页
- tech                       // 产品技术
  - atd                      // 产品技术-ATD
  - cdn                      // 产品技术-CDN
  - cwn                      // 产品技术-CWN
  - fengchao                 // 产品技术-蜂巢
- solution                   // 解决方案
  - index
  - aviation-safety          // 解决方案-航司安全
  - corporate-digitization   // 解决方案-企业数字化转型
  - game-safety              // 解决方案-游戏安全
  - government-security      // 解决方案-政府安全
  - information-security     // 解决方案-资讯信息安全
  - internet-banking         // 解决方案-互联网金融安全
  - new-government-affairs   // 解决方案-新型政务数据共享交换
  - online-education         // 解决方案-在线教育
- news                       // 新闻动态
  - index
- more                       // 更多
  - index
- public
  - css
  - fonts
  - image
  - js

开发

$ jekyll serve         # 访问 http://127.0.0.1:4000/

部署测试

测试分支位于 github/release 保证本地有 release 分支,并已更新到最新版本

$ sh build-test.sh
$ git checkout release && git push
$ ssh root@********
$ cd /usr/local/dashboard/web/dashboard && git pull

部署测试

由于线上机器无法科学上网,拉取 github 代码缓慢,线上分支位于 coding 保证本地有 release-baishan 分支,并已更新到最新版本

$ sh build-baishan.sh
$ git checkout release-baishan && git push
$ git push

服务器自动检测代码更新,每隔 5 分钟刷新一次缓存,如果重要更新或者 bugfix 可以联系 cdn 同学帮忙刷新缓存,防止出现版本不同步的情况

baishancloud's People

Contributors

mrmegamango avatar

Watchers

 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.