smileydts / death-or-glory

0 stars 0 forks source link

Clone the repo locally #4

Closed smileydts closed 8 months ago

smileydts commented 9 months ago

Be able to see the project on our local machines. Ideally do this with SSH.

smileydts commented 8 months ago

@djpace14

Open a terminal and run ssh-keygen -t ed25519 -C "your_email@example.com" I accepted the default file path and didn't add a passphrase. This should create 2 files: a public key and a private key. The public key you can share with websites such as github. The private key you just store on your machine. Go to https://github.com/settings/keys and add a new SSH key which is your public key. It's in the file with the PUB extension and looks something like ssh-ed25519 [long string of characters] your_email@example.com Copy the entire contents of the file (which is your public key) to github. Test your connection ssh -T git@github.com Say yes to any warnings. You should get your username back.

To clone and work on the repo locally, you'll have to install git. You can get it from https://git-scm.com/ Then you can clone the repo using SSH by opening VS Code and choosing "clone git repository" on the home screen. Use the link from the github repo for SSH.

smileydts commented 8 months ago

@djpace14 If you can install Docker on your machine ( https://docs.docker.com/ ) plus the steps above, then tonight we can go over how to use it and review a pull request (new feature).

djpace14 commented 8 months ago

So a question... When I enter this am I supposed to put in my email here?

ssh-keygen -t ed25519 -C "your_email@example.com"

smileydts commented 8 months ago

Yeah put your actual email there.

On Tue, Jan 2, 2024 at 4:16 PM djpace14 @.***> wrote:

So a question... When I enter this am I supposed to put in my email here?

ssh-keygen -t ed25519 -C @.***"

— Reply to this email directly, view it on GitHub https://github.com/smileydts/death-or-glory/issues/4#issuecomment-1874577747, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADYAWYC5WSUPWMB54SMG6R3YMR2JVAVCNFSM6AAAAABBHU2CK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGU3TONZUG4 . You are receiving this because you were assigned.Message ID: @.***>

djpace14 commented 8 months ago

What should I do here?

Screenshot 2024-01-02 162301

smileydts commented 8 months ago

Press enter to accept the default path.

djpace14 commented 8 months ago

Ok. Got it

djpace14 commented 8 months ago

image

I think it worked

djpace14 commented 8 months ago

When I install git which should i choose as my default editor? Visual Studio Code?

smileydts commented 8 months ago

Yeah

On Tue, Jan 2, 2024 at 5:04 PM djpace14 @.***> wrote:

When I install git which should i choose as my default editor? Visual Studio Code?

— Reply to this email directly, view it on GitHub https://github.com/smileydts/death-or-glory/issues/4#issuecomment-1874621135, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADYAWYB3HQ5EY5MGQKQFGATYMR76LAVCNFSM6AAAAABBHU2CK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGYZDCMJTGU . You are receiving this because you were assigned.Message ID: @.***>