Skip to content

Commit 550768b

Browse files
committed
Merge branch 'master' of github.com:Coding/WebIDE-Workspace
2 parents 0dc85a6 + 4d5152a commit 550768b

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README-zh.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Coding WebIDE
2+
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/Coding/WebIDE/blob/master/LICENSE) [![Build Status](https://travis-ci.org/Coding/WebIDE.svg?branch=master)](https://travis-ci.org/Coding/WebIDE) [![Docker Stars](https://img.shields.io/docker/stars/webide/webide.svg)](https://hub.docker.com/r/webide/webide 'DockerHub') [![Docker Pulls](https://img.shields.io/docker/pulls/webide/webide.svg)](https://hub.docker.com/r/webide/webide 'DockerHub')
23

34
README: [English](https://github.com/Coding/WebIDE/blob/master/README.md) | [中文](https://github.com/Coding/WebIDE/blob/master/README-zh.md)
45

@@ -69,19 +70,19 @@ git submodule update
6970

7071
`backend/src/main/resources/application.properties` 包括用户、项目、数据库等配置,可以通过修改配置定制服务:
7172

72-
* **SPACE_HOME:** 存放 workspace 的目录,默认为 ${"user.home"}/.workspace
73+
* **SPACE_HOME:** 存放 workspace 的目录,默认为 `~/.coding-ide/workspace`
7374
* **server.port:** 应用启动的端口
7475
* **USERNAME:** 用户名,git 提交时会使用该值作为 user.name,默认为 coding。
7576
* **EMAIL:** 用户邮箱,git 提交时会使用该值作为 user.email,默认为 coding@coding.net
7677
* **AVATAR:** 用户头像
77-
* **CODING_IDE_HOME:** 应用数据存放目录
78+
* **CODING_IDE_HOME:** 应用数据存放目录,默认为 `~/.coding-ide`
7879

7980
修改配置后,需要重启应用。另外如果修改了 `USERNAME``EMAIL` 的值,会在创建新的 Workspace 时生效。
8081

8182
## docker 版
8283

8384
```
84-
docker run -p 8080:8080 --name webide webide/webide
85+
docker run -p 8080:8080 -v coding-ide-home:/root/.coding-ide webide/webide
8586
```
8687

8788
更多 docker 命令,参照 wiki [English](https://github.com/Coding/WebIDE/wiki/Docker-Server.en) [中文](https://github.com/Coding/WebIDE/wiki/Docker-Server.zh)

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Coding WebIDE
2+
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/Coding/WebIDE/blob/master/LICENSE) [![Build Status](https://travis-ci.org/Coding/WebIDE.svg?branch=master)](https://travis-ci.org/Coding/WebIDE) [![Docker Stars](https://img.shields.io/docker/stars/webide/webide.svg)](https://hub.docker.com/r/webide/webide 'DockerHub') [![Docker Pulls](https://img.shields.io/docker/pulls/webide/webide.svg)](https://hub.docker.com/r/webide/webide 'DockerHub')
23

34
README: [English](https://github.com/Coding/WebIDE/blob/master/README.md) | [中文](https://github.com/Coding/WebIDE/blob/master/README-zh.md)
45

@@ -74,20 +75,20 @@ Server runs on port 8080 by default, visit localhost:8080 to check it out.
7475

7576
`backend/src/main/resources/application.properties` contains configurations of user, project, database, etc., you can change these parameters to meet your need:
7677

77-
* **SPACE_HOME:** path to your workspace directory, default to `${"user.home"}/.workspace`
78+
* **SPACE_HOME:** path to your workspace directory, default to `~/.coding-ide/workspace`
7879
* **server.port:** backend server port
7980
* **USERNAME:** username, used by git as its `user.name` config when commit, defaults to "coding"
8081
* **EMAIL:** email, used by git as its `user.email` config when commit, defaults to "coding@coding.net"
8182
* **AVATAR:** user's avatar
82-
* **CODING_IDE_HOME:** path to store WebIDE application's data
83+
* **CODING_IDE_HOME:** path to store WebIDE application's data, default to `~/.coding-ide`
8384

8485
If changed, restart the application to let your configurations take effect. Note that changes on `USERNAME`, `EMAIL` *WILL NOT* apply to workspaces that are already created.
8586

8687

8788
## Docker Server
8889

8990
```
90-
docker run -p 8080:8080 -h webide --name webide webide/webide
91+
docker run -p 8080:8080 -v coding-ide-home:/root/.coding-ide webide/webide
9192
```
9293

9394
To learn more about docker commands,please refer to wiki [English](https://github.com/Coding/WebIDE/wiki/Docker-Server.en) [中文](https://github.com/Coding/WebIDE/wiki/Docker-Server.zh)

0 commit comments

Comments
 (0)