GitHub help needed

I need help using GitHub. Here are my questions:

  • Is there a way to run code INSIDE GitHub?
  • Is it possible to use Replit Database in GitHub?
  • If I want to run a repository on GitHub by saving it to a computer and running it, do I need to put all those files in a folder?
  • How could I save a GitHub repository in a computer?
  • If I use json in my code and then I run it, will it create files in my device?
2 Likes

No. It’s only a place for storing code.

You can store code that uses the Replit Database in Github, but like I said you can’t really run anything there and also Replit DB only works on Replit.

Yes you can download a repo as ZIP and just open that to have all the files inside

You just store the code files in a folder? Or you can have a local Git instance.

I don’t understand. Wdym “use json in your code”

6 Likes

I meant use json in python

import json

create_file = open(‘fileName.json’, ‘x’)
json.dump(‘file contents’, create_file)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.