From 257b2c64c60eec8f936b2d80f0a85b360da96940 Mon Sep 17 00:00:00 2001 From: Donggang Cao Date: Fri, 28 Aug 2020 15:02:46 +0800 Subject: [PATCH] udpate README --- README.md | 66 +++++++++++++++++++++++++++++++++++++--- docs/.vuepress/config.js | 2 +- docs/README.md | 14 ++++----- package.json | 2 +- 4 files changed, 71 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index b2cae41..89bdec9 100755 --- a/README.md +++ b/README.md @@ -1,13 +1,71 @@ -# XUOS +# XiUOS -> X Ubuquitous Operating System +> X IIoT Ubuquitous Operating System ## Development +XiUOS 网站开发 + +假定工作于Ubuntu环境. + +XiUOS网站基于[VuePress](https://vuepress.vuejs.org), 故应先通过 *yarn* 安装 *vuepress* . + +### 安装 yarn + +首先 + +```bash +curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - +echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list +``` + +然后 + +```bash +sudo apt update && sudo apt install yarn +``` + +具体参见[这里](https://classic.yarnpkg.com/en/docs/install/#debian-stable) + +### 安装vuepress + +可以为所有项目安装全局的唯一 vuepress + +```bash +yarn global add vuepress +``` + +也可以在vuepress 项目根目录下安装每个项目各自的vuepress + +```bash +yarn add -D vuepress +``` + +### 下载网站源码 + +```bash +git clone https://github.com/xuos/xuos-web +``` + +如果没有全局vuepress, 需要安装 + +```bash +cd xuos-web +yarn add -D vuepress +``` + +测试 + ```bash yarn dev +``` + +会在终端启动 web server, 浏览器中访问 http://localhost:8080, 可观察网站效果 + +运行 + +```bash yarn build ``` -For more details, please head VuePress's [documentation](https://v1.vuepress.vuejs.org/). - +可在 docs/.vuepress/dist 中生成编译后的html页面 diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index b2bb262..5685e6b 100755 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -5,7 +5,7 @@ module.exports = { /** * Ref:https://v1.vuepress.vuejs.org/config/#title */ - title: name, + title: "XiUOS 未名工业物联操作系统", /** * Ref:https://v1.vuepress.vuejs.org/config/#description */ diff --git a/docs/README.md b/docs/README.md index eb134dd..d90de70 100755 --- a/docs/README.md +++ b/docs/README.md @@ -1,16 +1,16 @@ --- home: true heroImage: https://v1.vuepress.vuejs.org/hero.png -tagline: 未名工业物联操作系统 +tagline: 面向工业场景,使能智能感联, 助力智能生产 actionText: 快速上手 → actionLink: /guide/ features: -- title: Feature 1 Title - details: Feature 1 Description -- title: Feature 2 Title - details: Feature 2 Description -- title: Feature 3 Title - details: Feature 3 Description +- title: 实时感知智能识别 + details: 在工业生产等环境下, 通过节点级物联网设备, 实时感知并智能识别图像、声音、环境参数等各类数据, 使其数字化 +- title: 灵活组网互联互通 + details: 支持多种低延迟低能耗的无线通信协议, 可在复杂环境中灵活自组织网络, 传输和汇聚工业数据,实现网络化 +- title: 生态友好标准兼容 + details: 兼容POSIX标准,支持主流硬件架构, 对Linux/RISC-V/ARM等生态圈的用户友好, 开发移植门槛低 footer: ©2020 北京大学信息技术高等研究院泛在操作系统实验室 --- diff --git a/package.json b/package.json index 114aa91..c3d5f60 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "XiUOS", "version": "0.0.1", - "description": "未名工业物联操作系统", + "description": "使能智能化制造, 促进人机物融合", "main": "index.js", "authors": { "name": "",