Gitpod学习第一篇——Gitpod介绍

本篇文档从官方介绍直译过来,主要包括以下几个内容

1.什么是Gitpod

2.Gitpod能给我们带来什么改变

从官网介绍,Gitpod是一个基于Chorom Cloud平台的在线IDE,它可以快速的启动一个基于大多数流行语言的开发环境,并且可以很顺畅的进行开发。

以下是原文介绍:

Whether you just want to hack, have code to review or feel like trying something new on GitHub, Gitpod launches a ready-to-code dev environment with a single click.

Because Gitpod is based on OSS tech like VS Code, Docker and Kubernetes, it is familiar, comprehensive, extensible, and easy to use. With deep GitHub integration, tools for sharing, and a focus on usability, Gitpod contains your entire dev workflow in a browser tab.

Unlike traditional cloud and desktop IDEs, Gitpod understands the context and prepares the IDE automatically. For instance, if you are creating a Gitpod workspace from a GitHub pull request, the IDE will open in code-review mode.

Also, Gitpod workspaces are meant to be disposable. That is, you do not need to maintain anything. They are created when you need them, and you can forget about them when you are done. Simply go to GitHub and create a fresh workspace whenever you need one.

The IDE is open-source and based on Eclipse Theia. Theia is highly extensible and builds upon mature technologies such as TypeScript, VS Code, Webpack, and Node.js.

This site provides all the details on how to use Gitpod and Theia. If you have questions or want discuss something, please join the Gitpod community on Spectrum.

翻译过来就是:

无论您只是想要修改代码、查看代码,还是想在GitHub上尝试新东西,Gitpod都可以通过单击启动一个现成的代码开发环境。

因为Gitpod是基于VS Code、Docker和Kubernetes等OSS技术,所以它熟悉、全面、可扩展且易于使用。通过深入的GitHub集成、用于共享的工具和对可用性的关注,Gitpod将您的整个开发工作流程包含在一个浏览器选项卡中。

与传统的云和桌面IDE不同,Gitpod能够理解环境并自动准备IDE。例如,如果您从GitHub pull请求创建Gitpod工作区,IDE将以代码审查模式打开。

此外,Gitpod工作区是一次性的。也就是说,您不需要维护任何东西。它们是在您需要时创建的,完成后您可以忘记它们。只要去GitHub,在需要的时候创建一个新的工作空间。

 该IDE是开源的,基于Eclipse Theia。Theia是高度可扩展的,构建于成熟的技术之上,如TypeScript、VS代码、Webpack和Node.js。

简单来说,就是如果你已经非常熟练使用VS Code进行开发的话,那么使用Gitpod将会无比的简单,因为从书写规范来说,这仅仅是VS Code的插件化扩展。

但不仅仅是这样,有几个关键是Gitpod非常突出的地方:

1.集成Github,也就是说,你完全可以在github上通过Gitpod启动一个已经写好了或者半成品的项目,没必要再clone到本地然后使用JetBrains或者eclipse家族中的ide进行开发。

2.基于Docker和Kubernetes,通过容器技术,完全可以使用一个隔离的只专注于该项目本身的运行环境进行快速开发部署,而不需要再一步步安装依赖环境和环境变系统变量等繁琐配置,可以快速的进行开发测试;

3.基于浏览器,这一点可以说是优点也是缺点,基于浏览器必然会大大的节约内存等相关资源,但是这样也必然限制了项目的扩展性,而且也对cloud必须极度依赖。但好在,大多数情况下,我们不可能处于一个无网的状态下编程。

 

Gitpod.io在三个不同区域的Google Cloud基础架构上托管的多个Kubernetes集群中运行:

Gitpod Cluster Map

启动工作空间时,Gitpod将自动选择最接近您所在位置的集群,并在其中启动Kubernetes窗格。所请求的git存储库将被克隆,并检出您需要的分支。而且,Gitpod运行为该git仓库状态配置的所有脚本。

原文地址:https://www.cnblogs.com/wangzxblog/p/11812230.html