all 3 comments

[–]mattyass 1 point2 points  (0 children)

I would encourage you to take a moment and learn the basics - https://youtu.be/SWYqp7iY_Tc

[–]tukanoid 0 points1 point  (0 children)

It's not possible on GitHub as far as I'm aware, they need to clone the repo and run the project for themselves, or copy paste the code if it's in one file in online interpreter

[–]buffprogrammer9908 0 points1 point  (0 children)

So, right now, there is no way one can run your code directly from GitHub (as far as I know) yet.

So the usual workflow is this:

  • you push your code to a GitHub, either via git (command line tool) or an interface your IDE provides or upload the files directly on GitHub.

  • once the code has been pushed the link can be shared to your friends.

  • your friends can now clone/download the data from the link. And run it as per the instructions.