dependencies

개요

  • cli tools (command-line interface tools)

  • 버전 관리자 (runtime version managers)

  • 문서 편집기 (editors)

    • intellij IDEA

    • vscode

      • 단축키 설정 (command + k + s)

        • close window (workbench.action.closeWindow: ⌘ + w ) 삭제

        • close window (workbench.action.closeWindow: ⌘ + ⇧ + w ) 사용

    • neovim

      $ brew install neovim
      


  • 개발환경/가상환경 구성 툴 (Provision / VM Tool)

    • virtualbox

      $ brew install --cask virtualbox
      
    • vagrant

      $ brew install vagrant
      
    • ansible

      $ pip3 install ansible
      
      # ansible을 찾지 못한다면 아래와 같이 경로를 추가함 
      $ echo 'export PATH="/Users/<username>/Library/Python/3.8/bin:$PATH"' >> ~/.zshrc
      
      
    • docker


구성 방법

  • ssh 설정 파일 구성

      #config file at ~/.ssh
    
      #user1 account
      Host github.com-user1
         HostName github.com
         User git
         IdentityFile ~/.ssh/github-user1
         IdentitiesOnly yes
    
      #user2 account
      Host github.com-user2
         HostName github.com
         User git
         IdentityFile ~/.ssh/github-user2
         IdentitiesOnly yes
    


  • ssh 프로토콜을 이용한 git clone

      $ git clone git@github.com-user1:user1/your-repo-name.git your-repo-name_user1
    


  • 아래의 명령어로 로컬의 .git/config 파일을 수정하거나, 직접 경로 접근하여 수정함

      $ git config --local -e 
    
      .git/config
    
      [remote "origin"] 
      url = git@github.com-user1:user1/your-repo-name.git
      fetch = +refs/heads/*:refs/remotes/origin/*
    
      [user]
      name = user1
      email = user1@gmail.com