local development environment
로컬개발환경 구성정보는 아래와 같다.
- jdk 1.8 (and 1.7)
- eclipse neon (j2ee)
- tomcat 7
eclipse project to Github
이클립스에서 생성한 프로젝트를 github로 올리는 방법
github repository 생성
- github에 repository 생성 (nenes, nenea)
- github에 생성한 repository url을 copy (https://github.com/pparkhyung/nenea.git)
eclipse git repository 설정하기
- eclipse - git repository - clone a git repository 선택
- 복사한 url 입력 후 진행(github 계정 필요)
- git repository view에 local repository 확인
eclipse 프로젝트를 github에 올리기
- team - share - git 후 위에서 생성한 git repository 선택하면 moving이 발생 (local repository로 파일이 이동함 : workspace > local git repository )
- 프로젝트 선택 후 우클릭 > team > commit (git staging view가 open)
- unstaged changes의 파일을 staged changes로 이동 후 commit and push (push는 remote repository(github)로 파일을 commit)