web IDE theia-ide安装

theia-ide是一个能运行在浏览器里的开发环境,对常用语言都有很好的支持。非常适合在服务器上运行。本文介绍theia在docker环境下的安装和使用。

首次运行

基本版,包含基本的编辑功能

docker run -it -p 3000:3000 -v "$(pwd):/home/project:cached" theiaide/theia:latest

完整版

docker run -it -p 3000:3000 -v "$(pwd):/home/project:cached" theiaide/theia-full:latest

单独对某个环境的支持,将完整版的theia-full:latest替换即可

用途 命令
Go theia-go:latest
Java theia-java:latest
Openshift theia-openshift:latest
python theia-python:latest
ruby theia-ruby:latest
sadl theia-sadl:latest

docker相关

如果不想每次运行都下载新版本,可以去掉命令中的:latest,会运行已下载的版本。

其他链接

官网:https://www.theia-ide.org/
GitHub:https://github.com/theia-ide/theia
官方文档:https://www.theia-ide.org/doc/index.html

你可能感兴趣的:(web,python,theia,docker,ide,python,web)