devstar插件
This commit is contained in:
48
docs/document/decription/devstar插件.md
Normal file
48
docs/document/decription/devstar插件.md
Normal file
@@ -0,0 +1,48 @@
|
||||
---
|
||||
outline: deep
|
||||
weight: 3
|
||||
---
|
||||
|
||||
# devstar插件
|
||||
|
||||
## 快速开始
|
||||
|
||||
在VsCode拓展中搜索devstar,点击下载即可
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- ### 准备开发环境
|
||||
|
||||
#### Windows/MacOS/Linux
|
||||
需要预置开发环境:Nodejs、Typescript开发环境
|
||||
|
||||
1 . git clone项目到本地,然后通过VSCode打开项目。
|
||||
|
||||
2 . 下载项目所需依赖,执行命令: npm install 。
|
||||
|
||||
|
||||
#### DevContainer环境
|
||||
1 . git clone项目到本地,然后通过VSCode打开项目
|
||||
|
||||
2 . 项目提供了devcontainer的开发配置,通过vscode打开本项目后,会提示“Folder contains a Dev Container configuration
|
||||
file. Reopen folder to develop in a container (learn more).”,此时点击“Reopen in Container”,自动进入vscode的
|
||||
devcontainer环境中。
|
||||
|
||||
3 . 本项目的devcontainer预置了Node.js & Typescript的开发环境。在vscode的命令行工具执行 npm install 命令,下载项目
|
||||
所需依赖。
|
||||
|
||||
### 编译插件
|
||||
1 . 项目目录 .vscode/launch.json 中提供了编译与启动插件的配置。
|
||||
|
||||
2 . 点击运行再按启动调试即可编译和测试插件。 -->
|
19
docs/document/decription/关于devstar.md
Normal file
19
docs/document/decription/关于devstar.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
outline: deep
|
||||
weight: 1
|
||||
---
|
||||
|
||||
# 关于devstar
|
||||
|
||||
DevStar Studio 是一个Gitea 发行版,在Git代码仓库托管的基础上提供了开发环境DevEnv执行引擎,与VS Code插件或自定义IDE深度融合,形成灵活适配基础软件工具的生态平台,从而为开发者用户提供智能(代码大模型AI+)、安全(完全云原生)、一站式开箱即用的CI/CD全生命周期研发平台。
|
||||
|
||||
## 目标
|
||||
|
||||
DevStar Studio是一个通用的一站式软件研发平台,但它最初的目标是服务于汽车软件、消费电子、智能制造等嵌入式软件研发场景中的开发者
|
||||
|
||||
## 功能特性
|
||||
|
||||
|
||||
|
||||
|
||||
|
37
docs/document/decription/快速开始.md
Normal file
37
docs/document/decription/快速开始.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
outline: deep
|
||||
weight: 2
|
||||
---
|
||||
|
||||
# 快速开始
|
||||
|
||||
如果您是在Windows环境下,请在cmd命令行下先运行如下命令:
|
||||
```md
|
||||
powershell wsl --install -d Ubuntu-20.04
|
||||
```
|
||||
如果以上命令无法自动完成安装WSL,可以手动执行如下消耗完成命令安装:
|
||||
```md
|
||||
dism.exe /Online /Enable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux /All /LimitAccess /All
|
||||
dism.exe /Online /Enable-Feature /FeatureName:VirtualMachinePlatform /All /LimitAccess
|
||||
```
|
||||
在Ubuntu-20.04下完成安装:
|
||||
```md
|
||||
wget -c https://devstar.cn/assets/install.sh && chmod +x install.sh && sudo ./install.sh
|
||||
devstar help
|
||||
------------------------------------------------------------------------
|
||||
DevStar usage help:
|
||||
help, -h, --help, Help information
|
||||
start Start DevStar Studio
|
||||
--port=<arg> Specify the port number (default port is 8080)
|
||||
--version=<arg> Specify the DevStar Studio Image Version (default verson is latest)
|
||||
stop Stop the running DevStar Studio
|
||||
logs View the logs of the devstar-studio container
|
||||
clean Clean up the running DevStar Studio, including deleting user data. Please use with caution.
|
||||
------------------------------------------------------------------------
|
||||
sudo devstar start
|
||||
...
|
||||
-------------------------------------------------------
|
||||
DevStar started in http://localhost:8080 successfully!
|
||||
-------------------------------------------------------
|
||||
```
|
||||
然后通过浏览器打开http://localhost:8080完成后配置安装,默认第一个注册用户为管理员账户。
|
Reference in New Issue
Block a user