Giter VIP home page Giter VIP logo

ide-startup's Introduction

OpenSumi Web 集成示例

Docker Image CI

本项目为基于 OpenSumi 框架的 Web 版 IDE 集成示例

项目结构

.
├── workspace                   # 工作目录
├── extensions                  # 插件目录
├── configs                     # webpack 配置
├── src
│   ├── browser
│   └── node
├── tsconfig.json
├── package.json
└── README.md

启动

$ git clone [email protected]:opensumi/ide-startup.git
$ cd ide-startup
$ yarn              # 安装依赖后会自动执行 prepare,编译 Node.js 和 WebWorker 两个插件环境, 下载默认插件
$ mkdir workspace   # 创建默认的 workspace 目录,启动后会默认打开该目录
$ yarn start        # 启动前端、后端服务器及 Webview Host

浏览器打开 http://0.0.0.0:8080

URL 添加 query 参数 workspaceDir 即可打开指定目录,例如 http://0.0.0.0:8080?workspaceDir=/path/to/dir

OpenSumi

使用 Docker 镜像

# 拉取镜像
docker pull ghcr.io/opensumi/opensumi-web:latest

# 运行
docker run --rm -d  -p 8080:8000/tcp ghcr.io/opensumi/opensumi-web:latest

浏览器打开 http://0.0.0.0:8080

ide-startup's People

Contributors

aaaaash avatar bytemain avatar erha19 avatar renovate[bot] avatar dependabot[bot] avatar yantze avatar

Stargazers

Roman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.