Skip to content

Commit 8a89475

Browse files
committed
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java into develop
2 parents 7d90c86 + d6856ba commit 8a89475

File tree

12 files changed

+1182
-715
lines changed

12 files changed

+1182
-715
lines changed

CONTRIBUTING.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Contributing
2+
We are glad that you are willing to contribute to the TinyEngine open source project. There are many forms of contribution. You can choose one or more of them based on your strengths and interests:
3+
4+
* Report new defect.
5+
* Provide more detailed information for the existing defects, such as supplementary screenshots, more detailed reproduction steps, minimum reproducible demo links, etc.
6+
* Submit Pull requests to fix typos in the document or make the document clearer and better.
7+
* Add the official assistant WeChat opentiny-official and join the technical exchange group to participate in the discussion.
8+
9+
When you personally use the TinyEngine and participate in many of the above contributions, as you become familiar with TinyEngine , you can try to do something more challenging, such as:
10+
11+
* Fix the defect. You can start with Good-first issue.
12+
* Implementation of new features
13+
* Complete unit tests.
14+
* Translate documents
15+
* Participate in code review.
16+
17+
### Bug Reports
18+
If you encounter problems when using TinyEngine-backend-java, please submit an issue to us. Before submitting an issue, read the related official documents carefully to check whether the issue is a defect or a function that has not been implemented.
19+
20+
If the issue is a defect, select the bug report template when creating a new issue. The title must comply with the defect description format. For example, [TinyEngine-backend-java] cannot be refreshed.
21+
22+
To report a defect, you need to fill in the following information:
23+
24+
* Screenshots can be used to describe the defect. If an error is reported, the error information can be posted.
25+
* It is recommended that a minimum demo link be provided to reproduce the defect.
26+
27+
If the feature is a new feature, select the Feature request template. The title complies with the format of the new feature description, for example, [TinyEngine-backend-java].
28+
29+
For an issue of a new feature, you need to fill in the following information:
30+
31+
* What problems does this feature solve
32+
* What is the API of this feature
33+
34+
### Pull Requests
35+
36+
Before submitting pull request, please make sure that your submission is in line with the overall plan of TinyEngine-backend-java. Generally, issues that marked as bug are encouraged to submit pull requests. If you are not sure, you can create a Discussion for discussion.
37+
38+
39+
```
40+
# username indicates the user name. Replace it before running the command.
41+
git clone git@github.com:username/tiny-engine-backend-java.git
42+
cd tiny-engine-backend-java
43+
git remote add upstream git@github.com:opentiny/tiny-engine-backend-java.git
44+
45+
```
46+
To submit a PR:
47+
48+
* Click the Fork button in the upper right corner of the tiny-engine-backend-java repository to fork the upstream repository to your personal repository.
49+
* Clone personal warehouse to local
50+
* Local coding.
51+
* Submit according to Commit Message Format specification. PR that do not conform to the submission specification will not be merged.
52+
* Submit to remote repository: git push origin branchName.
53+
* Open the Pull requests link of the TinyEngine-backend-java code repository and click the New pull request button to submit the PR.
54+
* Project Committer conducts Code Review and makes comments.
55+
* The PR author adjusts the code according to the opinion. Please note that when a branch initiates PR, the subsequent commit will be synchronized automatically, and there is no need to resubmit the PR.
56+
* Project administrator merges PR.
57+
58+
The contribution process is over, thank you for your contribution!
59+
60+
### Join the open source community
61+
If you are interested in our open source projects, please join our open source community in the following ways.
62+
63+
* Add the official assistant WeChat: opentiny-official, join our technical exchange group
64+
* Join the mailing list: opentiny@googlegroups.com

CONTRIBUTING.zh-CN.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
报告缺陷的 Issue 主要需要填写以下信息:
2323

24-
* TinyEngine-backend-java 和 node 的版本号
2524
* 缺陷的表现,可截图辅助说明,如果有报错可贴上报错信息
2625
* 缺陷的复现步骤,最好能提供一个最小可复现 demo 链接
2726

README.md

Lines changed: 226 additions & 0 deletions
Large diffs are not rendered by default.

README.zh-CN.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* 在 tiny-engine-backend-java/app/src/main/resources/application-dev.yml文件里修改连接数据库相关配置
1818
* 在 tiny-engine-backend-java/app/src/main/java/com/tinyengine/it/TinyEngineApplication主函数入口启动项目进行本地开发
1919

20-
详细请看[TinyEngine 官网-使用手册](https://opentiny.design/tiny-engine#/help-center/course/backend/51)中的前后端本地如何启动章节
20+
详细请看[TinyEngine 官网-使用手册-平台开发指南-前后端代码本地启动联调](https://opentiny.design/tiny-engine#/help-center/course/dev/1200)章节
2121

2222

2323
### 目录规则
@@ -160,7 +160,7 @@
160160

161161
### 使用手册
162162

163-
具体服务端使用文档请查看[TinyEngine 官网-使用手册](https://opentiny.design/tiny-engine#/help-center/course/backend/51)
163+
具体服务端使用文档请查看[TinyEngine 官网-使用手册-平台开发指南](https://opentiny.design/tiny-engine#/help-center/course/dev/90)
164164

165165

166166
#### 本地运行时配置:
@@ -197,7 +197,6 @@ mysql 8
197197
| blocks_groups__block_groups_blocks | r_block_group_block | | |block-group_id -> block_group_id、 |
198198
|blocks_carriers_relations|t_block_carriers_relation|tenant_id、site_id、renter_id| |block -> block_id、 host ->host_id、created_at -> created_time、updated_by -> last_updated_by、updated_at -> last_updated_time |
199199
| block_histories_material_histories__material_histories_blocks | r_material_history_block | | | material-history_id -> material_history_id、 block-history_id -> block_history_id |
200-
| i18n_langs | t_i18n_lang | | | updated_by -> last_updated_by、created_at -> created_time、 updated_at -> last_updated_time |
201200
| material_histories | t_material_history | image_url、build_info、tgz_url、 material_size、site_id、renter_id | | material -> ref_id、 tenant -> tenant_id 、updated_by -> last_updated_by、created_at -> created_time、 updated_at -> last_updated_time |
202201
| material_histories_components__user_components_mhs | r_material_history_component | | | material-history_id -> material_history_id、 user-component_id -> component_id |
203202
| materials | t_material | material_category_id、material_size、tgz_url、unzip_tgz_root_path_url、unzip_tgz_files、tenant_id、site_id、renter_id | name_cn、user_components、latest | version -> latest_version、material_histories -> latest_history_id、isOfficial -> is_official、isDefault ->is_default、component_library -> component_library_id、 |
@@ -212,6 +211,8 @@ mysql 8
212211
| user_components | t_component |name_en、tenant_id、site_id、renter_id | component | isOfficial ->is_official、isDefault -> is_default、library -> library_id、updated_by -> last_updated_by、created_at -> created_time、 updated_at -> last_updated_time |
213212
| users-permissions_user | t_user |enable、tenant_id、site_id、renter_id | provider、password、resetPasswordToken、confirmationToken、confirmed、blocked | updated_by -> last_updated_by、created_at -> created_time、 updated_at -> last_updated_time |
214213
| tenants | t_tenant | | created_by、updated_by | tenant_id -> org_code、createdBy -> created_by、updatedBy -> last_updated_by、created_at -> created_time、 updated_at -> last_updated_time |
214+
| platforms | t_platform| latest_history_id、site_id、renter_id | is_java、created_by、updated_by | theme -> theme_id、latest -> latest_version、material_history -> material_history_id、business_category -> business_category_id、tenant -> tenant_id、createdBy -> created_by、updatedBy -> last_updated_by、created_at -> created_time、updated_at -> last_updated_time |
215+
|platform_histories|t_platform_history|publish_url、image_url、tenant_id、site_id、renter_id | |platform -> ref_id、material_history -> material_history_id、created_at -> created_time、updated_by -> last_updated_by、updated_at -> last_updated_time |
215216

216217

217218
### 🤝 参与贡献

app/src/main/resources/application-local.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,11 @@ logging:
3939
pattern:
4040
file: "%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
4141
file:
42-
name: /logs
42+
name: /logs
43+
44+
cors:
45+
allowed-origins: "http://127.0.0.1:8090"
46+
allowed-methods: "GET,POST,PUT,DELETE,OPTIONS"
47+
allowed-headers: "Accept,Referer,User-Agent,x-lowcode-mode,x-lowcode-org,Content-Type,Authorization"
48+
exposed-headers: "Authorization"
49+
allow-credentials: true

0 commit comments

Comments
 (0)