Home / Blog / Tutorial

How to open a GitHub project in Codesphere

Published March 16, 2021

Codesphere is a development ecosystem that combines a collaborative IDE, GitOps, and cloud services to streamline the development of…

How to open a GitHub project in Codesphere
How to open a GitHub project in Codesphere

Codesphere

From everyone in the Codesphere Team:)

We are building the next generation of Cloud, combining Infrastructure and IDE in one place, enabling a seamless DevEx and eliminating the need for DevOps specialists.

Full Bio

TUTORIAL: How to open a GitHub project in Codesphere

Codesphere is a development ecosystem that combines a collaborative IDE, GitOps, and cloud services to streamline the development of scalable web applications.

Nowadays it’s hard to imagine development without using git. That’s why in today’s article we’ll show you how to clone your git project from GitHub and open it in Codesphere.

Clearing the working directory

At the moment, when a new app is created, Codesphere clones a default project from GitHub. To quickly clear out the working directory we can run the following command in the terminal:

rm -rf ..?* .[!.]* *

Cloning a GitHub repository

To clone a GitHub repository, we first need to find the repo’s web URL. This will typically be:
https://github.com/YOUR-USERNAME/YOUR-REPO-NAME.git

To find the right one, navigate to the green code button on your repo’s main page.

Then click on ‘https’ and copy the URL.

After that, navigate back to Codesphere and run the following command in the terminal to clone the repo:git clone URL

For example, here is how this command looks for me:git clone https://github.com/LiorB-D/ToDoList.git .

Finally, your project should now appear under Code in the file tree.

Thanks for reading!

By the way, the direct GitHub integration is coming soon to make the version control process as simple as possible.

Stay tuned and happy coding!

About the Author

https://codesphere.ghost.io/content/images/proxy/1-an7W8VpGD0t9aWY-qsa8Ew.png

Codesphere

From everyone in the Codesphere Team:)

We are building the next generation of Cloud, combining Infrastructure and IDE in one place, enabling a seamless DevEx and eliminating the need for DevOps specialists.

More Posts

Self-hosted vs. API-based LLMs: Which One is Better?

Self-hosted vs. API-based LLMs: Which One is Better?

LLAMA 2 has considerably bridged the gap between the quality and performance of open-source LLMS vs. the API-based expensive models. Self-hosted LLMs are just as efficient and not so expensive anymore.

Build an LSI Keywords Tool with Node JS

Build an LSI Keywords Tool with Node JS

To make our short tutorial articles more SEO friendly we decided to add LSI keywords to them and to find those keywords we built an LSI keyword tool using Node JS.