Meet With GitHub Codespaces
- 1 minWhat is GitHub Codespaces?
GitHub Codespaces is a service that provides developers with on-demand access to a secure development environment running a given codebase (Git repository) on a remote server. It also allows the developer to debug, maintain and make changes via a full-featured (with syntax highlighting, themes, extensions, version control, etc.) browser-based or locally installed Visual Studio Code IDE from their local machine.
GitHub Codespaces uses virtualization tools under the hood, such as containers and virtual machines. Codespaces can be thought of as having a backend part and a frontend part—the usual client-server architecture, nothing fancy. The backend part is where all the application code is usually run in a Docker container (you don’t need to install Docker to use Codespaces) with the required runtime and tools, and the frontend part is the IDE, which interfaces with the running application.
How to Use ?
You should follow that steps for create a new codespace.
- Open your target repository.
- Click the Code section.
- Create Codespace on your branch.
- After click button you will see that your browser open a new tab.
- You will see an IDE and It will be ready for using with your source code.
- You can inspect the IDE.
- Environment try to install the all dependencies for your project.
- After a while You can ready to build, run or any code development.
- I had a sample Jekyll blog source code and after the ready to build I serve it with the Jekyll serve command.
- Finally I can access to my running web project.
With the new GitHub feature. We can develop or test our code without our work PC. Codespaces is really usefull I am sure We will use it We will use it more in the near future.
Thanks for reading :)