mirror of
https://github.com/veops/oneterm.git
synced 2025-09-26 19:31:14 +08:00
docs: update DEV_README
This commit is contained in:
@@ -49,14 +49,14 @@ docker compose -f docker-compose.frontend-dev.yaml ps
|
||||
cd oneterm-ui
|
||||
|
||||
# Install dependencies
|
||||
npm install
|
||||
yarn install
|
||||
|
||||
# Start development server
|
||||
npm run serve
|
||||
```
|
||||
|
||||
3. **Access the Application**
|
||||
- Frontend dev server: http://localhost:8080
|
||||
- Frontend dev server: http://localhost:8000
|
||||
- OneTerm API: http://localhost:18888
|
||||
- ACL API: http://localhost:15000
|
||||
|
||||
@@ -105,7 +105,6 @@ cd oneterm-ui
|
||||
npm run serve # Start development server
|
||||
npm run lint # Code linting
|
||||
npm run lint:nofix # Check only without fixing
|
||||
npm test:unit # Run unit tests
|
||||
|
||||
# Build
|
||||
npm run build # Production build
|
||||
@@ -261,11 +260,7 @@ The frontend automatically proxies to the backend. For custom proxy settings, ed
|
||||
|
||||
## Contributing
|
||||
|
||||
1. Fork the project
|
||||
2. Create a feature branch: `git checkout -b feature/new-feature`
|
||||
3. Commit changes: `git commit -am 'Add new feature'`
|
||||
4. Push branch: `git push origin feature/new-feature`
|
||||
5. Create Pull Request
|
||||
+ [CONTRIBUTING.md](../CONTRIBUTING.md)
|
||||
|
||||
## Support
|
||||
|
||||
|
@@ -49,14 +49,14 @@ docker compose -f docker-compose.frontend-dev.yaml ps
|
||||
cd oneterm-ui
|
||||
|
||||
# 安装依赖
|
||||
npm install
|
||||
yarn install
|
||||
|
||||
# 启动开发服务器
|
||||
npm run serve
|
||||
```
|
||||
|
||||
3. **访问应用**
|
||||
- 前端开发服务器: http://localhost:8080
|
||||
- 前端开发服务器: http://localhost:8000
|
||||
- OneTerm API: http://localhost:18888
|
||||
- ACL API: http://localhost:15000
|
||||
|
||||
@@ -105,7 +105,6 @@ cd oneterm-ui
|
||||
npm run serve # 启动开发服务器
|
||||
npm run lint # 代码检查
|
||||
npm run lint:nofix # 仅检查不修复
|
||||
npm test:unit # 运行单元测试
|
||||
|
||||
# 构建
|
||||
npm run build # 生产构建
|
||||
@@ -261,11 +260,7 @@ cp ../../deploy/dev-config.example.yaml config.yaml
|
||||
|
||||
## 贡献指南
|
||||
|
||||
1. Fork 项目
|
||||
2. 创建特性分支: `git checkout -b feature/new-feature`
|
||||
3. 提交更改: `git commit -am 'Add new feature'`
|
||||
4. 推送分支: `git push origin feature/new-feature`
|
||||
5. 创建 Pull Request
|
||||
+ [CONTRIBUTING_cn.md](../CONTRIBUTING_cn.md)
|
||||
|
||||
## 技术支持
|
||||
|
||||
|
Reference in New Issue
Block a user