본문 바로가기

카테고리 없음

[anna-conda]GitHub으로부터 코드 가져오기(open source code_git clone)

반응형

https://github.com/

GitHub: Let’s build from here

GitHub is where over 100 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and fea...

github.com

깃허브 사용방법에 대해서는
내가 올릴 수가 없다.
왜냐하면 나도 아직 잘 모르기 때문이다......
 

github

github에 repository를 만들고
코드를 저장하는 방법에 대해서는 서툴지만
 

 
남들이 만든 코드 가져오는건 세상 간편함.
누가봐도 누르고 싶게 생긴 저 초록색 Code 표시를 누르면
URL을 쉽게 복사할 수 있다.
 

git 원격 저장소 clone(복제)

 
그런 다음 git clone (마우스 오른쪽 키)
혹은 git clone (ctrl+v) 중에
편한 형태로 git clone 한 다음에 copy한 url을
붙여넣기하면된다.
 

오른쪽 아이콘 클릭 시, 복붙 가능

 
DiffDock github의
README에 setup environment에
git clone 부터 나와있는데
보통은 이렇게까지 자세하게 나와있지 않음.
 

GitHub - gcorso/DiffDock: Implementation of DiffDock: Diffusion Steps, Twists, and Turns for Molecular Docking

Implementation of DiffDock: Diffusion Steps, Twists, and Turns for Molecular Docking - GitHub - gcorso/DiffDock: Implementation of DiffDock: Diffusion Steps, Twists, and Turns for Molecular Docking

github.com

 

conda create --name diffdock python=3.8
conda activate diffdock

 

conda

conda activate로 base에서 diffdock으로 가상환경이 활성화되었다.
 
README를 보며 한 줄 한 줄 따라가다보면
어마어마한 고난의 시작

반응형