孟宁 bfe02c57b2
All checks were successful
DevStar Studio CI/CD Pipeline / DevStarStudio-CICD-Pipeline (pull_request) Successful in 45m20s
更新 public/assets/install.sh
2025-12-25 06:11:13 +00:00
2025-07-10 19:36:55 +08:00
2025-12-25 06:11:13 +00:00
2025-02-13 18:00:00 +08:00
2025-07-04 17:02:32 +02:00
2024-06-19 19:42:06 +00:00
2024-07-23 12:07:41 +00:00
2025-04-07 21:42:32 -07:00
2025-06-16 12:03:51 +00:00
2025-06-11 16:58:39 +00:00
2023-01-24 18:52:38 +00:00
2025-05-16 14:09:45 +00:00
2025-02-13 18:00:00 +08:00
2025-07-28 16:05:40 +08:00
2025-06-10 12:35:12 +00:00
2025-05-05 09:17:45 -07:00
2025-07-04 17:02:32 +02:00
2025-01-27 21:57:14 +00:00
2025-07-06 04:55:16 +00:00

DevStar

The Last Mile of Al for R&D

Purpose

DevStar Studio是为AI时代打造的新一代一站式智能研发平台面向人类开发者和AI开发者的融合团队专注于产品质量和团队效能为研发部门赋能提效。

As Gitea is written in Go, it works across all the platforms and architectures that are supported by Go, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. This project has been forked from Gogs since November of 2016, but a lot has changed.

Building

如果您是在Windows环境下请在cmd命令行下先运行如下命令wsl --install Ubuntu

在Ubuntu下安装依赖开发工具

sudo apt-get update       
sudo apt install -y build-essential
sudo apt-get install -y docker.io 

Build devstar-studio:latest From the root of the source tree, run::

git clone https://devstar.cn/devstar/devstar.git && cd devstar
make devstar # Build devstar-studio:latest

or Build a binary file named gitea From the root of the source tree, run:

TAGS="bindata" make build

or if SQLite support is required:

TAGS="bindata timetzdata sqlite sqlite_unlock_notify" make build

The build target is split into two sub-targets:

  • make backend which requires Go Stable, the required version is defined in go.mod.
  • make frontend which requires Node.js LTS or greater.

Internet connectivity is required to download the go and npm modules. When building from the official source tarballs which include pre-built frontend files, the frontend target will not be triggered, making it possible to build without Node.js.

More info: https://docs.gitea.com/installation/install-from-source

Using

Start from Container Image:

public/assets/install.sh start --image=devstar-studio:latest

# 查看日志
public/assets/install.sh logs
# 停止并删除devstar-studio容器
public/assets/install.sh clean
# 删除所有容器
sudo docker stop $(sudo docker ps -aq) && sudo docker rm -f $(sudo docker ps -aq)

or, After building, a binary file named gitea will be generated in the root of the source tree by default. To run it, use:

./gitea web

Contributing

Expected workflow is: Fork -> Patch -> Push -> Pull Request

在DevStar Git仓库创建分支

git clone https://devstar.cn/devstar/devstar.git && cd devstar
git checkout -b YOUR_BRANCH_NAME

# 镜像方式安装验证
make devstar # Build devstar-studio:latest
public/assets/install.sh start --image=devstar-studio:latest

# 提交代码
git add FILES
git commit -m "commit log"
git push

在DevStar Git仓库发起Pull Request合并代码后会自动触发CI流水线完成容器镜像的构建并上传到 mengning997/devstar-studio:latest 和 devstar.cn/devstar/devstar-studio:latest

public/assets/install.sh start

Note

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you have found a vulnerability in the project, please write privately to contact@mengning.com.cn. Thanks!
  3. 在Ubuntu下配置devstar开发环境
sudo apt install -y build-essential
# download and install go
sudo apt install -y golang-go
go version

# download and install Node.js
wget -c https://nodejs.org/dist/v22.11.0/node-v22.11.0-linux-x64.tar.xz
sudo tar -xf node-v22.11.0-linux-x64.tar.xz -C /usr/local/
echo 'export PATH=/usr/local/node-v22.11.0-linux-x64/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
node -v # should print `v22.11.0`
npm -v # should print `10.9.0`

git clone https://devstar.cn/devstar/devstar.git && cd devstar

TAGS="timetzdata sqlite sqlite_unlock_notify" make watch # for debuging
make test # testing
TAGS="bindata timetzdata sqlite sqlite_unlock_notify" make build # 生成可执行文件
./gitea

Official and Third-Party Projects

We maintain a list of Gitea-related projects at gitea/awesome-gitea, where you can discover more third-party projects, including SDKs, plugins, themes, and more.

License

This project is licensed under the AGPL-3.0 License.

  • Community Edition (Free):
    • Includes the standalone version of DevStar Studio.
    • Free to use and deploy.
    • Technical support is not included.
  • Enterprise Edition (Paid):
    • Requires a commercial license.
    • Unlocks Kubernetes-related features and other advanced functionalities.
    • Includes technical support.

See the LICENSE file for the full license text.

Description
DevStar Studio
Readme Multiple Licenses 291 MiB
Languages
Go 81.1%
Handlebars 8.6%
TypeScript 4%
CSS 2.5%
JavaScript 1.7%
Other 1.8%