WebIDE 前端项目
Switch branches/tags
Clone or download
KevenYoung Merge pull request #356 from Coding/middle-click
fix tab label icon height bug and middle click remove tab
Latest commit fab3d99 Aug 10, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app fix tab label icon height bug and middle click remove tab Aug 9, 2018
dist update terminal Feb 7, 2018
static restoring missing commits lost in previous merge mess... Aug 4, 2017
webpack_configs Add a login page Feb 13, 2018
.babelrc 增加测试脚手架 fixes#158 Apr 11, 2017
.dockerignore fix /ws in container Apr 28, 2017
.editorconfig add eslint support Nov 23, 2016
.env.tpl Fix config Nov 24, 2017
.eslintignore 增加测试脚手架 fixes#158 Apr 11, 2017
.eslintrc 完善插件开发时多插件方案,用pm2管理多个本地实例,同时兼容远程插件 Nov 24, 2017
.flowconfig 🔧 simplify alias configs in webpack, fix alias-related configs in .fl… Apr 25, 2017
.gitignore 完善插件开发时多插件方案,用pm2管理多个本地实例,同时兼容远程插件 Nov 24, 2017
.i18nGenerator.js 优化 i18n generator Jul 25, 2017
.jestfilemock.js 增加测试脚手架 fixes#158 Apr 11, 2017
.plugins.json 完善插件开发时多插件方案,用pm2管理多个本地实例,同时兼容远程插件 Nov 24, 2017
.travis.yml Update .travis.yml Apr 17, 2018
.yarnrc add yarnrc Mar 17, 2017
Dockerfile fix /ws in container Apr 28, 2017
LICENSE update LICENSE Sep 14, 2016
README.md Update readme May 7, 2018
cdn.js this fixe Coding/WebIDE#151 Apr 10, 2017
nginx.conf fix /ws in container Apr 28, 2017
package.json Fix package Jul 11, 2018
packageListServer.js 增加optional的插件处理机制 Dec 2, 2017
task.yaml.tpl Fix config Nov 24, 2017
webpack.config.js Add run mode qprod Feb 1, 2018
yarn.lock Add function to open file with url parameter and update node modules Jul 30, 2018

README.md

Coding WebIDE Frontend

License Build Status Docker Stars Docker Pulls

This repo contains frontend code of the Coding WebIDE Community Edition. Please refer to the WebIDE repo for instruction on running the whole project.


WebIDE is now upgraded to Cloud Studio,welcome to our new homepage https://studio.coding.net/


Requirement

The repo is written in ES2015, to avoid complications once and for all, please make sure your environment have the right version of node. We use:

  • node v6.x
  • yarn

We strongly recommend yarn as your package manager, it will certainly save you from lots of npm induced headache ;-) If you don't have yarn installed yet, install it globally by running.

npm install yarn -g

To learn more about yarn, check out their official site.

By design a "WebIDE" is supposed to run on a server and accessed by web, thus a unix-like environment is strongly recommended. Support for Windows platform will come eventually, but presumably it'll always be lagging behind.

Development

To start development on this repo, first set task.yaml: cp from task.yaml.tpl

Set .env

run:

yarn
npm -g i pm2
yarn pm2

If you insist that you don't want yarn, well, you can still run:

npm install
npm -g i pm2
npm run pm2

If ever encountered any problem, double check to ensure your node version is at v6.x with node -v, and re-run yarn(npm install) to update dependencies before you report any issue.

Configuration

By default the backend host that this frontend connects to is http://localhost:8080, this can be changed in app/config.js. webpack-dev-server by default serves on port 8060, which is specified in package.json scripts section.