-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:Coding/WebIDE-Workspace
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Coding WebIDE | ||
[![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') | ||
|
||
README: [English](https://github.com/Coding/WebIDE/blob/master/README.md) | [中文](https://github.com/Coding/WebIDE/blob/master/README-zh.md) | ||
|
||
|
@@ -69,19 +70,19 @@ git submodule update | |
|
||
`backend/src/main/resources/application.properties` 包括用户、项目、数据库等配置,可以通过修改配置定制服务: | ||
|
||
* **SPACE_HOME:** 存放 workspace 的目录,默认为 ${"user.home"}/.workspace | ||
* **SPACE_HOME:** 存放 workspace 的目录,默认为 `~/.coding-ide/workspace` | ||
* **server.port:** 应用启动的端口 | ||
* **USERNAME:** 用户名,git 提交时会使用该值作为 user.name,默认为 coding。 | ||
* **EMAIL:** 用户邮箱,git 提交时会使用该值作为 user.email,默认为 [email protected] | ||
* **AVATAR:** 用户头像 | ||
* **CODING_IDE_HOME:** 应用数据存放目录 | ||
* **CODING_IDE_HOME:** 应用数据存放目录,默认为 `~/.coding-ide` | ||
|
||
修改配置后,需要重启应用。另外如果修改了 `USERNAME`、`EMAIL` 的值,会在创建新的 Workspace 时生效。 | ||
|
||
## docker 版 | ||
|
||
``` | ||
docker run -p 8080:8080 --name webide webide/webide | ||
docker run -p 8080:8080 -v coding-ide-home:/root/.coding-ide webide/webide | ||
``` | ||
|
||
更多 docker 命令,参照 wiki [English](https://github.com/Coding/WebIDE/wiki/Docker-Server.en) [中文](https://github.com/Coding/WebIDE/wiki/Docker-Server.zh) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Coding WebIDE | ||
[![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') | ||
|
||
README: [English](https://github.com/Coding/WebIDE/blob/master/README.md) | [中文](https://github.com/Coding/WebIDE/blob/master/README-zh.md) | ||
|
||
|
@@ -74,20 +75,20 @@ Server runs on port 8080 by default, visit localhost:8080 to check it out. | |
|
||
`backend/src/main/resources/application.properties` contains configurations of user, project, database, etc., you can change these parameters to meet your need: | ||
|
||
* **SPACE_HOME:** path to your workspace directory, default to `${"user.home"}/.workspace` | ||
* **SPACE_HOME:** path to your workspace directory, default to `~/.coding-ide/workspace` | ||
* **server.port:** backend server port | ||
* **USERNAME:** username, used by git as its `user.name` config when commit, defaults to "coding" | ||
* **EMAIL:** email, used by git as its `user.email` config when commit, defaults to "[email protected]" | ||
* **AVATAR:** user's avatar | ||
* **CODING_IDE_HOME:** path to store WebIDE application's data | ||
* **CODING_IDE_HOME:** path to store WebIDE application's data, default to `~/.coding-ide` | ||
|
||
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. | ||
|
||
|
||
## Docker Server | ||
|
||
``` | ||
docker run -p 8080:8080 -h webide --name webide webide/webide | ||
docker run -p 8080:8080 -v coding-ide-home:/root/.coding-ide webide/webide | ||
``` | ||
|
||
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) |