|
1 | 1 | # Coding WebIDE |
| 2 | +[](https://github.com/Coding/WebIDE/blob/master/LICENSE) [](https://travis-ci.org/Coding/WebIDE) [](https://hub.docker.com/r/webide/webide 'DockerHub') [](https://hub.docker.com/r/webide/webide 'DockerHub') |
2 | 3 |
|
3 | 4 | README: [English](https://github.com/Coding/WebIDE/blob/master/README.md) | [中文](https://github.com/Coding/WebIDE/blob/master/README-zh.md) |
4 | 5 |
|
@@ -74,20 +75,20 @@ Server runs on port 8080 by default, visit localhost:8080 to check it out. |
74 | 75 |
|
75 | 76 | `backend/src/main/resources/application.properties` contains configurations of user, project, database, etc., you can change these parameters to meet your need: |
76 | 77 |
|
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` |
78 | 79 | * **server.port:** backend server port |
79 | 80 | * **USERNAME:** username, used by git as its `user.name` config when commit, defaults to "coding" |
80 | 81 | * **EMAIL:** email, used by git as its `user.email` config when commit, defaults to "coding@coding.net" |
81 | 82 | * **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` |
83 | 84 |
|
84 | 85 | 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. |
85 | 86 |
|
86 | 87 |
|
87 | 88 | ## Docker Server |
88 | 89 |
|
89 | 90 | ``` |
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 |
91 | 92 | ``` |
92 | 93 |
|
93 | 94 | 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