What is Gitpod?
Gitpod is a service that provides online virtual computers for coding.
We use it to provide similar computers to all of our students; these computers come pre-installed with the tools needed to start learning, practicing, and working on projects.
Think about Gitpod as a virtual machine that runs on the internet; when you create a file on Gitpod, it does not get saved locally on your computer; it will get held online, and you will need the internet to retrieve it again tomorrow.
Computers on demand, with VSCode already installed
Gitpod is a service that provides online virtual computers for coding.
We use it to provide similar computers to all of our students; these computers come pre-installed with the tools needed to start learning, practicing, and working on projects.
Think about Gitpod as a virtual machine that runs on the internet; when you create a file on Gitpod, it does not get saved locally on your computer; it will get held online, and you will need the internet to retrieve it again tomorrow.
Computers on demand, with VSCode already installed
Why Gitpod?
No need to install anything: The most frequent wall for learning how to code is the configuration: To complete this course, you would need to install: Git, node, nvm, python, MySQL, Postgress, c++, VSCode, Learnpack, Vercel, Heroku, etc.
No more compatibility problems: Have you tried installing python on your computer? There are 100 ways to do it. Depending on your operating system and other factors, you will encounter problems while installing it, because you will follow a procedure written by someone with a different computer.
Enhanced learning: At 4Geeks, we have deep integration with Gitpod; it helps us measure the student activity and progress, make our courses interactive, with automatic grading and many other features that we would not be able to run locally on your computer.
Github integration: It is essential to learn and use Github today; developers use it daily and their employers expect them to be fluent in Git and Github. Gitpod is built around Github, forcing you to learn it and start using it immediately. Helping you become good at it.
How does Gitpod work?
- After you sign up to Gitpod, you will find your workspaces empty.
- Every workspace is a -virtual- computer.
- The only way to create a new workspace is to specify a Github repository folder (if you don’t know what Github is, think of it as an online hard drive of code, where every folder is a project you are coding).
- Once the new workspace opens, it will create an empty computer for you, but it will also download to this new computer the files from the Github repository folder you specified (your code).
- Finally, it will open a coding editor (probably VSCode, the most used coding IDE in the world) and a terminal to start coding as if the workspace was on your local computer in the first place.
- If you go back to your workspaces, you will find all the computers you have created and be able to
re-open them
. Changes you made to the files will stay forever, you will not lose any data as long as you RE-OPEN the same workspace you were working on in the first place.
What are Gitpod’s disadvantages?
It’s slower than local: Coding locally is faster because you don’t have to wait a couple of minutes for the virtual computers to get created. You need reliable internet: Otherwise, you can get disconnected while coding (and you may have to wait until you get back online).
We recognize the tradeoffs, but our students and the academy get so much value from Gitpod that we are happy to bear the disadvantages.
What is a workspace?
It’s a computer; all the updates you make to your code will stay on the same workspace forever. You can go back to your list of workspaces anytime and delete, rename, or pin each of the workspaces.
When you open a Github repository using Gitpod, you will be “renting” a computer with access to the most popular coding editor in the world: VSCode.
Running a project on Gitpod
We strongly recommend downloading the Gitpod Chrome Extension. It will make your workflow easier and faster.
Once you download and install the extension, you will find a green button called “Gitpod” on every GitHub repository.
Pressing on this button will open the repository files on a new workspace, and you will be able to start coding on VSCode.
Once you finish for the day, you can abandon your computer. However, if you want to keep working on the same code tomorrow, you will have to find the workspace on “Your Workspaces” and re-open it from there.
Use It For Free!
You can use Gitpod with any GitHub repository. The login is done through GitHub OAuth. At first, Gitpod will ask for accessing public repos, only. If you want to use it with a private repository, Gitpod will ask again for more permissions.
Why not try it now? If you don’t have a particular repository in mind, you can pick one of the below:
- JavaScript:
https://gitpod.io#https://github.com/ooade/NextSimpleStarter - Go:
https://gitpod.io#https://github.com/demo-apps/go-gin-app - Java:
https://gitpod.io#https://github.com/spring-guides/gs-spring-boot - Ruby:
https://gitpod.io#https://github.com/gitpod-io/rails_sample_app - Python:
https://gitpod.io#https://github.com/sibtc/django-beginners-guide - PHP:
https://gitpod.io#https://github.com/symfony/demo
Happy coding!