https://github.com/Coding/WebIDE-Frontend
WebIDE 前端项目
https://github.com/Coding/WebIDE-Frontend
Last synced: 3 months ago
JSON representation
WebIDE 前端项目
- Host: GitHub
- URL: https://github.com/Coding/WebIDE-Frontend
- Owner: coding
- License: bsd-3-clause
- Created: 2016-09-13T03:17:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-24T09:02:37.000Z (about 6 years ago)
- Last Synced: 2024-11-09T21:27:58.282Z (3 months ago)
- Language: JavaScript
- Homepage: https://ide.coding.net/community
- Size: 58.4 MB
- Stars: 381
- Watchers: 27
- Forks: 153
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Coding WebIDE Frontend
[](https://github.com/Coding/WebIDE/blob/master/LICENSE) [](https://travis-ci.org/Coding/WebIDE-Frontend) [](https://hub.docker.com/r/webide/frontend 'DockerHub') [](https://hub.docker.com/r/webide/frontend 'DockerHub')This repo contains frontend code of the Coding WebIDE Community Edition. Please refer to the [WebIDE](https://github.com/Coding/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**
- yarnWe 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](https://yarnpkg.com/).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.tplSet .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.