Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Coding/WebIDE
Browse files Browse the repository at this point in the history
  • Loading branch information
vangie committed Sep 14, 2016
2 parents 85f9c00 + bc0fb94 commit 826cb54
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 44 deletions.
28 changes: 5 additions & 23 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
Copyright (c) 2014-2016 CODING(https://coding.net/).

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

* Neither the name of Jaroslaw Kowalski nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 changes: 37 additions & 0 deletions README-zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Coding WebIDE

本项目是为了能够一键启动 `WebIDE` 开源版而创建的,以 git 子模块的形式引用了另外的三个项目,分别是 WebIDE-Frontend、WebIDE-Frontend-Webjars、WebIDE-Backend。

请诸位把 issues 提到对应的项目下,这样可以得到更及时的处理。前端请到 [WebIDE-Frontend](https://github.com/Coding/WebIDE-Frontend/issues),后端请到 [WebIDE-Backend](https://github.com/Coding/WebIDE-Backend/issues).

## 模块说明

> **WebIDE-Frontend:** WebIDE 前端项目
> **WebIDE-Frontend-Webjars:** webjar 项目,用于将 WebIDE 前端打包成 webjar
> **WebIDE-Backend:** WebIDE 后端项目
## Clone 项目

首先 clone 本项目到本地,然后拉取子项目:

> git submodule init
> git submodule update
即可拉取子项目到本地。

## 运行环境

**WebIDE Frontend 依赖 npm 做包管理,wepack 和 babel 做构建工具**
**WebIDE-Frontend-Webjars & WebIDE-Backend 项目依赖 maven**

在编译、运行项目前,请保证环境依赖已被正确配置。

## 编译、打包、运行

本项目提供了一个脚本 `ide.sh`,用于编译、打包、运行项目:

> **./ide.sh build:** 编译并打包前端项目
> **./ide.sh run:** 启动项目
启动完成后,默认端口为 8080,访问 localhost:8080 即可。

49 changes: 28 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,44 @@
# Coding WebIDE Workspace
# Coding WebIDE

## 项目说明
[中文 README](https://github.com/Coding/WebIDE-Workspace/blob/master/README-zh.md)

本项目是为了能够一键启动 `WebIDE` 开源版而创建的,以 git 子模块的形式引用了另外的三个项目,分别是 WebIDE-Frontend、WebIDE-Frontend-Webjars、WebIDE-Backend。
This is the entry point to setup and run the WebIDE Community Edition project. It includes other 3 repos as git submodules.

## 模块说明
Please submit issues to corresponding projects, that'll help us make issues tracking easier so that we can provide timely help to you. Submit frontend issues at [WebIDE-Frontend](https://github.com/Coding/WebIDE-Frontend/issues) and backend issues at [WebIDE-Backend](https://github.com/Coding/WebIDE-Backend/issues).

> **WebIDE-Frontend:** WebIDE 前端项目
> **WebIDE-Frontend-Webjars:** webjar 项目,用于将 WebIDE 前端打包成 webjar
> **WebIDE-Backend:** WebIDE 后端项目

## Clone 项目
## Modules

首先 clone 本项目到本地,然后拉取子项目:
> [WebIDE-Frontend](https://github.com/Coding/WebIDE-Frontend) contains frontend code.
> [WebIDE-Frontend-Webjars](https://github.com/Coding/WebIDE-Frontend-Webjars) packs frontend to webjar.
> [WebIDE-Backend](https://github.com/Coding/WebIDE-Backend) contains backend code.
> git submodule init
> git submodule update

即可拉取子项目到本地。
## How to clone

## 运行环境
Clone this git repo to local. Then do:

**WebIDE Frontend 依赖 npm 做包管理,wepack 和 babel 做构建工具**
**WebIDE-Frontend-Webjars & WebIDE-Backend 项目依赖 maven**
```
git submodule init
git submodule update
```

在编译、运行项目前,请保证环境依赖已被正确配置。
This will also clone the other 3 repos via git submodule mechanism.

## 编译、打包、运行

本项目提供了一个脚本 `ide.sh`,用于编译、打包、运行项目:
## Environment

> **./ide.sh build:** 编译并打包前端项目
> **./ide.sh run:** 启动项目
WebIDE Frontend uses `npm` for package management, `webpack` and `babel` for building.
WebIDE Frontend Webjars & WebIDE Backend use `maven`.

启动完成后,默认端口为 8080,访问 localhost:8080 即可。
Please ensure you have corresponding tools installed in your environment before build and run the project.


## Build and run

We provide a shell script `ide.sh` to ease the build and run process

> **./ide.sh build:** builds the frontend and packs to webjars
> **./ide.sh run:** start the backend and server
Server runs on port 8080 by default, visit localhost:8080 to check it out. Have fun!

0 comments on commit 826cb54

Please sign in to comment.