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倉庫狀態配置的所有腳本。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM