Skip to content

Commit dc3c52f

Browse files
authored
feat: change olares (#22)
1 parent 0c88f23 commit dc3c52f

File tree

11 files changed

+56
-57
lines changed

11 files changed

+56
-57
lines changed

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Terminus License
1+
# Olares License
22

33
## Acceptance
44

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DevBox
22

3-
Terminus App development management tools
3+
Olares App development management tools
44

55
## Build backend
66
### Build binary

containers/root/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</head>
1111
<body>
1212
<div style="vertical-align: middle; text-align: center;line-height: 400px;">
13-
<b>Welcom to Terminus</b>
13+
<b>Welcom to Olares</b>
1414
</div>
1515
</body>
1616
</html>

packages/web/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Devbox (devbox)
22

3-
Terminus dev tools
3+
Olares dev tools
44

55
## Install the dependencies
66

packages/web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@devbox/web",
33
"version": "0.0.1",
4-
"description": "Terminus dev tools",
4+
"description": "Olares dev tools",
55
"productName": "Devbox",
66
"author": "liuyu <>",
77
"private": true,

packages/web/public/docs/help_cn.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 安装
44

5-
1. 进入 Terminus App Store
5+
1. 进入 Olares App Store
66
2. 找到 DevBox
77
3. 点击 Install
88
4. 等待安装完成后,即可点击 Open 打开 DevBox
@@ -15,10 +15,10 @@
1515
![Create App](../docs/imgs/createapp.png)
1616

1717
- 输入你的 APP Name
18-
- 选择你的 APP 所需要的开发语言 ( 系统会根据你的选择自动安装对应的开发容器 )和 APP 相关的 Terminus 系统相关设置
18+
- 选择你的 APP 所需要的开发语言 ( 系统会根据你的选择自动安装对应的开发容器 )和 APP 相关的 Olares 系统相关设置
1919

2020
- 目前支持三种语言 ( NodeJS、 Golang、 Python )
21-
- 选择 “Require app data volume”, 会自动绑定 Terminus 的 App Data 目录到容器中,以提供持久化的数据存储
21+
- 选择 “Require app data volume”, 会自动绑定 Olares 的 App Data 目录到容器中,以提供持久化的数据存储
2222

2323
```yaml
2424
volumes:
@@ -28,7 +28,7 @@
2828
path: {{ .Values.userspace.appCache }}/<app name>
2929
```
3030
31-
- 选择 “Require user data volume”, 会自动绑定 Terminus 用户数据存储目录到容器中,以方便 App 访问用户的个人数据
31+
- 选择 “Require user data volume”, 会自动绑定 Olares 用户数据存储目录到容器中,以方便 App 访问用户的个人数据
3232
3333
```yaml
3434
volumes:
@@ -60,12 +60,12 @@
6060
## 安装仿真开发环境
6161
6262
1. 确认 chart 相关文件以后,可点击 "UPDATE REPO", 使 Helm Chart 生效。
63-
2. Chart 生效之后,可点击 "INSTALL" 将开发 APP 的模拟环境安装到 Terminus 中,以进行后续的仿真环境开发
63+
2. Chart 生效之后,可点击 "INSTALL" 将开发 APP 的模拟环境安装到 Olares 中,以进行后续的仿真环境开发
6464
3. 在开发过程中,如果需要对 Chart 相关文件进行调整修改,需要再次重复执行步骤 1 和 2
6565
6666
## 在仿真环境中开发
6767
68-
1. 开发容器安装到 Terminus 中以后,可以在 Developing App 列表中进入开发环境 APP
68+
1. 开发容器安装到 Olares 中以后,可以在 Developing App 列表中进入开发环境 APP
6969
7070
![list coding](../docs/imgs/listcoding.png)
7171
@@ -82,8 +82,8 @@
8282
8383
![list preview](../docs/imgs/listpreview.png)
8484
85-
2. 点击后会打开 开发中 APP 在 Terminus 中的预览调试页面
86-
3. 同时在 Terminus 的桌面里也可以找到这个开发中的 APP,执行操作。
85+
2. 点击后会打开 开发中 APP 在 Olares 中的预览调试页面
86+
3. 同时在 Olares 的桌面里也可以找到这个开发中的 APP,执行操作。
8787
4. 在开发过程中,如需调试 APP,可在运行 debug 模式 APP 后,修改容器中 nginx 配置 ( /etc/nginx/conf.d/default.conf ), 将对应的 location 转发到你的 APP
8888
8989
![nginx](../docs/imgs/nginx.png)
@@ -101,7 +101,7 @@ nginx -s reload
101101
1. 在 APP 开发完成后,将你的 APP 镜像发布到公开的镜像仓库中
102102
2. 在 APP 的编辑页面,点击 ”DOWNLOAD CHART“,下载 APP 的安装包
103103
3. 将 Chart 包 Deployment.yaml 中的镜像修改为你之前发布的 APP 镜像
104-
4. fork Terminus 的应用商店 Github 仓库 ( https://github.com/beclab/apps )。
104+
4. fork Olares 的应用商店 Github 仓库 ( https://github.com/beclab/apps )。
105105
5. 提交你的 Chart 到代码仓库中。
106-
6.Terminus 的 Github 仓库提交一个 Pull Request,并按照 PR 模版仔细填写内容
107-
7. 等待 Terminus 审核通过,并合并 PR 之后,你的 APP 则成功提交到 Terminus 的应用商店中,可供其他用户安装使用。
106+
6.Olares 的 Github 仓库提交一个 Pull Request,并按照 PR 模版仔细填写内容
107+
7. 等待 Olares 审核通过,并合并 PR 之后,你的 APP 则成功提交到 Olares 的应用商店中,可供其他用户安装使用。

packages/web/src/components/ConfigComponent.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ async function onSave() {
186186
componentProps: {
187187
title: 'Confirmation',
188188
message:
189-
'There are errors in TerminusManifest.yaml files. Your app may not be able to install correctly. Do you want to save any way?',
189+
'There are errors in OlaresManifest.yaml files. Your app may not be able to install correctly. Do you want to save any way?',
190190
showAgain: true,
191191
okText: 'Save'
192192
}

packages/web/src/i18n/en-US/index.ts

+13-13
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
page_404: 'Oops. Nothing here...',
55
no_data: 'No data.',
66
home_welcome: 'Welcome to DevBox',
7-
home_desc: 'An easy way to develop in Terminus',
7+
home_desc: 'An easy way to develop in Olares',
88
home_start: 'Start',
99
home_create: 'Create a new application',
1010
home_update: 'Upload a chart package',
@@ -13,15 +13,15 @@ export default {
1313
home_recent_resc_2: ' will appear here',
1414
home_documents: 'Documents',
1515
home_doc_1: 'DevBox tutorials',
16-
home_doc_2: 'Basic concepts of Terminus applications',
17-
home_doc_3: 'Understand Terminus Application Chart',
18-
home_doc_4: 'TerminusManifest configuration guide ',
19-
home_doc_5: 'Terminus Market Protocol overview',
16+
home_doc_2: 'Basic concepts of Olares applications',
17+
home_doc_3: 'Understand Olares Application Chart',
18+
home_doc_4: 'OlaresManifest configuration guide ',
19+
home_doc_5: 'Olares Market Protocol overview',
2020
home_doc_6: 'How to submit an application',
2121
home_visit_1: 'Visit',
2222
home_visit_2: 'for more information.',
2323
home_appname: 'App name',
24-
home_appname_hint: 'App namespace in Terminus',
24+
home_appname_hint: 'App namespace in Olares',
2525
home_appname_rules_1: 'Enter the app name',
2626
home_appname_rules_2: 'Must start with an alphabetic character',
2727
home_appname_rules_3: 'Only allows lowercase letters (a-z) and numbers (0-9)',
@@ -111,21 +111,21 @@ export default {
111111
config_name: 'App configuration',
112112
config_metadata_icon: 'Icon',
113113
config_metadata_icon_hint:
114-
'Your app icon in the Terminus Market. Use a PNG or WEBP file, up to 512 KB, sized at 256x256 pixels.',
114+
'Your app icon in the Olares Market. Use a PNG or WEBP file, up to 512 KB, sized at 256x256 pixels.',
115115
config_metadata_apptitle: 'App title',
116-
config_metadata_apptitle_hint: 'Your app title in Terminus Market',
116+
config_metadata_apptitle_hint: 'Your app title in Olares Market',
117117
config_metadata_apptitle_rules: 'Enter the app title',
118118
config_metadata_versionname: 'Version',
119119
config_metadata_versionname_hint:
120120
'The version of your app. Format it in the SemVer 2.0.0 format.',
121121
config_metadata_versionname_rules: 'Enter the version',
122122
config_metadata_categories: 'Categories',
123123
config_metadata_categories_hint:
124-
'List the categories under which your app will appear in the Terminus Market',
124+
'List the categories under which your app will appear in the Olares Market',
125125
config_metadata_categories_rules: 'Enter categories for your app',
126126
config_metadata_shortdesc: 'Short description',
127127
config_metadata_shortdesc_hint:
128-
'A short description that will appear below the app title in the Terminus Market',
128+
'A short description that will appear below the app title in the Olares Market',
129129
config_metadata_shortdesc_rules: 'Enter the short description',
130130
config_metadata_fulldesc: 'Full description',
131131
config_metadata_fulldesc_hint: 'A comprehensive description of your app',
@@ -213,7 +213,7 @@ export default {
213213
config_space_middleware_Databases: 'Databases',
214214
config_option_cluster: 'Cluster scoped',
215215
config_option_cluster_desc:
216-
'Whether this app is installed for all users in a Terminus cluster',
216+
'Whether this app is installed for all users in a Olares cluster',
217217
config_option_Reference_name_rules: 'Enter the name',
218218
config_option_Reference_name_rules2:
219219
'Must start with an alphabetic character',
@@ -230,13 +230,13 @@ export default {
230230
config_space_url: 'URL',
231231
config_space_visible: 'Visible',
232232
config_space_visible_hint:
233-
'Show entrance icon and title on the Terminus desktop',
233+
'Show entrance icon and title on the Olares desktop',
234234
config_space_authlevel: 'Auth level',
235235
config_space_authlevel_desc:
236236
'A private entrance that requires activating Tailscale for access',
237237
config_space_openmethod: 'Open method',
238238
config_space_openmethod_desc:
239-
'Show entrance icon and title on the Terminus desktop',
239+
'Show entrance icon and title on the Olares desktop',
240240
config_space_policy: 'Policy scope',
241241
config_space_policy_hint:
242242
'Set affected URLs of the policy. Regular expressions are supported.',

packages/web/src/i18n/zh-CN/index.ts

+13-14
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
page_404: '哎呀,什么都没有...',
55
no_data: '无数据',
66
home_welcome: '欢迎使用 DevBox',
7-
home_desc: '在 Terminus 中轻松开发应用',
7+
home_desc: '在 Olares 中轻松开发应用',
88
home_start: '开始',
99
home_create: '创建新应用',
1010
home_update: '上传 chart 包',
@@ -13,15 +13,15 @@ export default {
1313
home_recent_resc_2: '将显示在这里',
1414
home_documents: '文档',
1515
home_doc_1: 'DevBox 教程',
16-
home_doc_2: 'Terminus 应用的基本概念',
17-
home_doc_3: '理解 Terminus 应用 chart',
18-
home_doc_4: 'TerminusManifest 配置指南 ',
19-
home_doc_5: 'Terminus 市场协议概览',
16+
home_doc_2: 'Olares 应用的基本概念',
17+
home_doc_3: '理解 Olares 应用 chart',
18+
home_doc_4: 'OlaresManifest 配置指南 ',
19+
home_doc_5: 'Olares 市场协议概览',
2020
home_doc_6: '如何提交应用',
2121
home_visit_1: '访问',
2222
home_visit_2: '了解更多信息。',
2323
home_appname: '应用名称',
24-
home_appname_hint: 'Terminus 中的应用命名空间',
24+
home_appname_hint: 'Olares 中的应用命名空间',
2525
home_appname_rules_1: '输入应用名称',
2626
home_appname_rules_2: '必须以字母开头',
2727
home_appname_rules_3: '仅允许小写字母(a-z)和数字(0-9)',
@@ -111,19 +111,18 @@ export default {
111111
config_name: '应用配置',
112112
config_metadata_icon: '图标',
113113
config_metadata_icon_hint:
114-
'Terminus 市场中的应用图标。请使用 PNG 或 WEBP 文件,大小不超过 512 KB,尺寸为 256x256 px。',
114+
'Olares 市场中的应用图标。请使用 PNG 或 WEBP 文件,大小不超过 512 KB,尺寸为 256x256 px。',
115115
config_metadata_apptitle: '应用标题',
116-
config_metadata_apptitle_hint: 'Terminus 市场中的应用标题',
116+
config_metadata_apptitle_hint: 'Olares 市场中的应用标题',
117117
config_metadata_apptitle_rules: '输入应用标题',
118118
config_metadata_versionname: '版本',
119119
config_metadata_versionname_hint: '应用版本。请按 SemVer 2.0.0 格式填写。',
120120
config_metadata_versionname_rules: '输入版本',
121121
config_metadata_categories: '类别',
122-
config_metadata_categories_hint: '列出应用在 Terminus 市场中出现的类别',
122+
config_metadata_categories_hint: '列出应用在 Olares 市场中出现的类别',
123123
config_metadata_categories_rules: '输入应用的类别',
124124
config_metadata_shortdesc: '简短描述',
125-
config_metadata_shortdesc_hint:
126-
'显示在 Terminus 市场中应用标题下方的简短描述',
125+
config_metadata_shortdesc_hint: '显示在 Olares 市场中应用标题下方的简短描述',
127126
config_metadata_shortdesc_rules: '输入简短描述',
128127
config_metadata_fulldesc: '完整描述',
129128
config_metadata_fulldesc_hint: '应用的完整描述',
@@ -199,7 +198,7 @@ export default {
199198
config_space_postgres_password_place: '留空以生成 16 位随机密码',
200199
config_space_middleware_Databases: '数据库',
201200
config_option_cluster: '集群范围',
202-
config_option_cluster_desc: '是否为 Terminus 集群中的所有用户安装此应用',
201+
config_option_cluster_desc: '是否为 Olares 集群中的所有用户安装此应用',
203202
config_option_Reference_name_rules: '输入名称',
204203
config_option_Reference_name_rules2: '必须以字母开头',
205204
config_option_Reference_name_rules3: '仅包含小写字母(a-z)和数字(0-9)',
@@ -212,11 +211,11 @@ export default {
212211
config_space_port: '端口',
213212
config_space_url: '网址',
214213
config_space_visible: '可见',
215-
config_space_visible_hint: '在 Terminus 桌面上显示入口图标和标题',
214+
config_space_visible_hint: '在 Olares 桌面上显示入口图标和标题',
216215
config_space_authlevel: '认证级别',
217216
config_space_authlevel_desc: '需要激活 Tailscale 才能访问私人入口',
218217
config_space_openmethod: '打开方式',
219-
config_space_openmethod_desc: '在 Terminus 桌面上显示入口图标和标题',
218+
config_space_openmethod_desc: '在 Olares 桌面上显示入口图标和标题',
220219
config_space_policy: '策略范围',
221220
config_space_policy_hint: '设置受策略影响的URL,支持正则表达式',
222221
config_space_policy_place: '设置受策略影响的URL,支持正则表达式',

packages/web/src/pages/HomePage.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
<div class="link-more text-body1 text-ink-2">
7777
{{ t('home_visit_1') }}
7878
<a
79-
href="https://docs.jointerminus.com/overview/introduction/what-is-terminus.html"
80-
>docs.jointerminus.com</a
79+
href="https://docs.joinolares.com/overview/introduction/what-is-olares.html"
80+
>docs.joinolares.com</a
8181
>
8282
{{ t('home_visit_2') }}
8383
</div>

packages/web/src/stores/menu.ts

+11-11
Original file line numberDiff line numberDiff line change
@@ -65,32 +65,32 @@ export const useMenuStore = defineStore('menu', {
6565
{
6666
id: 1,
6767
message: 'DevBox Tutorial',
68-
link: 'https://docs.jointerminus.com/developer/develop/tutorial/devbox.html'
68+
link: 'https://docs.joinolares.com/developer/develop/tutorial/devbox.html'
6969
},
7070
{
7171
id: 2,
72-
message: 'Introduction to Basic Concepts of Terminus Application',
73-
link: 'https://docs.jointerminus.com/overview/terminus/application.html'
72+
message: 'Introduction to Basic Concepts of Olares Application',
73+
link: 'https://docs.joinolares.com/overview/olares/application.html'
7474
},
7575
{
7676
id: 3,
77-
message: 'Learn about Terminus Application Chart',
78-
link: 'https://docs.jointerminus.com/developer/develop/package/chart.html'
77+
message: 'Learn about Olares Application Chart',
78+
link: 'https://docs.joinolares.com/developer/develop/package/chart.html'
7979
},
8080
{
8181
id: 4,
82-
message: 'Configuration Guideline for TerminusManifest',
83-
link: 'https://docs.jointerminus.com/developer/develop/package/manifest.html'
82+
message: 'Configuration Guideline for OlaresManifest',
83+
link: 'https://docs.joinolares.com/developer/develop/package/manifest.html'
8484
},
8585
{
8686
id: 5,
87-
message: 'Terminus Market protocol overview',
88-
link: 'https://docs.jointerminus.com/overview/protocol/market.html'
87+
message: 'Olares Market protocol overview',
88+
link: 'https://docs.joinolares.com/overview/protocol/market.html'
8989
},
9090
{
9191
id: 6,
92-
message: 'How to sbmit an application to the Terminus Market',
93-
link: 'https://docs.jointerminus.com/developer/develop/submit/'
92+
message: 'How to sbmit an application to the Olares Market',
93+
link: 'https://docs.joinolares.com/developer/develop/submit/'
9494
}
9595
]
9696
} as DataState;

0 commit comments

Comments
 (0)