+ 6

How can we run github repositories ? Does github provide any way, or any other platform which we can use for execution of code?

I just created an account on GitHub and i write a code "hello world" May I know, how I will run this code for checking it's working are not?

17th Mar 2020, 5:10 AM
Olivia Mikayla
Olivia Mikayla - avatar
24 ответов
+ 17
GitHub only contains files. This service can't run any application or check and compile code.
17th Mar 2020, 5:23 AM
Дмитрий Березин
+ 28
You can import your github repositories at "Gitpod" and execute at their cloud platform. https://www.gitpod.io/ also their are many other online platform where you can import github code through terminal and execute that.
17th Mar 2020, 5:29 AM
GAWEN STEASY
GAWEN STEASY - avatar
+ 12
You can't run codes on GitHub. The only thing that you can do is hosting a static website. Other than that, everything else is just files, you'll have to clone it in your local computer and run it.
17th Mar 2020, 5:23 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 8
Olivia if you already bought a domain name, all you have to do is change some DNS records. You can find a tutorial in the official documentation of GitHub pages.
17th Mar 2020, 5:25 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 6
Olivia by default you get a custom domain name, something like: username.github.io/repository_name However, it is obviously long and not professional. If you want to link an external domain, you'll have to modify some settings, but these changes are very easy to make.
17th Mar 2020, 5:30 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 5
Дмитрий Березин Thank you very much ... I try my best but I didn't get many answers that's why I posted it there
17th Mar 2020, 5:46 AM
Olivia Mikayla
Olivia Mikayla - avatar
+ 4
GAWEN STEASY wow thank you very much
17th Mar 2020, 5:44 AM
Olivia Mikayla
Olivia Mikayla - avatar
+ 4
Aymane Boukrouh [INACTIVE] thank you very much I will try to do this ... And inform you
17th Mar 2020, 5:45 AM
Olivia Mikayla
Olivia Mikayla - avatar
+ 4
Hi everyone. I've already tried several methods. GitHub desktop is the best and easiest for anyone. Also try new GitHub app for mobile.
18th Mar 2020, 2:24 PM
Muhammad Sohail Ahmad
Muhammad Sohail Ahmad - avatar
+ 3
Aymane Boukrouh [INACTIVE] Thank you so much ... Is GitHub offering any free domains services are we need to use my own domain?
17th Mar 2020, 5:26 AM
Olivia Mikayla
Olivia Mikayla - avatar
+ 3
If you want launch website on github you can try github pages. For detail guides you should go to http://github.com
17th Mar 2020, 5:33 AM
Дмитрий Березин
+ 3
Mirielle👽 thank you
17th Mar 2020, 7:08 AM
Olivia Mikayla
Olivia Mikayla - avatar
+ 3
Coder it's okay 👍 thank you for your help guys ...
17th Mar 2020, 6:05 PM
Olivia Mikayla
Olivia Mikayla - avatar
+ 2
Дмитрий Березин oh thank you I got it ... My I know how I get domain and contact with it?
17th Mar 2020, 5:24 AM
Olivia Mikayla
Olivia Mikayla - avatar
+ 2
You can host static sites (HTML, CSS) on https://pages.github.com/
17th Mar 2020, 7:14 PM
Viktor Sokolov
Viktor Sokolov - avatar
+ 2
You can cannot run your codes buy if it is regarding to web development then you can static websites where you need to set your github repo as example.github.io
18th Mar 2020, 1:41 PM
Abash Shah
Abash Shah - avatar
+ 2
Abash Shah thanks
18th Mar 2020, 1:44 PM
Olivia Mikayla
Olivia Mikayla - avatar
+ 2
GitHub is a platform to store your code and make it available to the open source community. It uses git technology for version control. To run these codes you can copy or clone the code and run it locally or using online compilers.
18th Mar 2020, 2:18 PM
Naveen Kumar Bisai
Naveen Kumar Bisai - avatar
+ 2
You generally clone the repository on your local machine and run it there.
18th Mar 2020, 8:12 PM
Sonic
Sonic - avatar
+ 1
Naveen bisai thank you
18th Mar 2020, 2:22 PM
Olivia Mikayla
Olivia Mikayla - avatar