-
Notifications
You must be signed in to change notification settings - Fork 13
Set up SSH with GitHub
Kemal Kongar edited this page Jun 2, 2022
·
2 revisions
There are some very good instructions on how to create an ssh key Here from GitHub. There are just a few things to consider, do not install xclip
it is not useful for our purposes because we have SSH-ed in our staging environment anyway. Use copy and paste
functions instead.
ssh-keygen -t rsa -b 4096 -C "yourname"
- Add the Public key (e.g., id_rsa.pub) to the deploy keys in the settings for Rodan-Docker. Do not check the "allow editing" checkbox. Put the name of the server and your name also.
- Create an ssh config under your account with the following, make sure the IdentityFile directive points to the location of the private ssh key we just made.
Host github.com User git HostName github.com IdentityFile ~/.ssh/id_rsa
Important: There are two major branches for Rodan. Major releases are in Production, while the develop
branch with the nightly builds is the one on the Staging server.
cd /srv/webapps/
git clone --single-branch -b develop [email protected]:DDMAL/Rodan.git
- Repository Structure
- Working on Rodan
- Testing Production Locally
- Working on Interactive Classifier
- Job Queues
- Testing New Docker Images
- Set up Environment Variables
- Set up SSL with Certbot
- Set up SSH with GitHub
- Deploying on Staging
- Deploying on Production
- Import Previous Data