웹서버 환경설정 및 로컬 환경설정을 완료하고 본격적으로 웹페이지 개발을 위해 Git 을 사용하였습니다.
■ Git 설치하기(로컬)
- git 설치 : https://git-scm.com/downloads
Git - Downloads
Downloads Mac OS X Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific
git-scm.com
- tortoiseGit 설치 : https://tortoisegit.org/
TortoiseGit – Windows Shell Interface to Git
Support Manuals, FAQ, bug reporting, mailing list, and more…
tortoisegit.org
tortoiseGit은 CLI를 사용하여 Git을 작업하기에 어려운 분들이 사용하기 좋은 프로그램입니다.
tortoiseGit에 대한 기본적인 사용법은 해당 링크를 참고하시면 됩니다.
(https://backlog.com/git-tutorial/kr/intro/intro1_1.html)
■ Git 설치하기(서버)
서버에 Git을 설치하고 연동하는 과정은 해당 블로그를 참고하였습니다.
linux Git연동 참고 : https://morningame.tistory.com/27
[CentOS 7] Git 설치 및 설정
Git 설치하기 -- Git 설치 # yum install git -- 설치 화면 Loaded plugins: fastestmirror, langpacks base | 3.6 kB 00:00:00 extras | 3.4 kB 00:00:00 mariadb | 2.9 kB 00:00:00 updates | 3.4 kB 00:00:00 (..
morningame.tistory.com
이 후 기존에 작업중이던 웹개발 프로젝트를 Git 저장소로 옮기고 서버에 해당 저장소를 복제(Clone) 하고
서버에서 로컬과 동일하게 가상호스팅 작업을 진행하여 http://portfolio.bygound.org 로 연동하였습니다.
추가적인 작업은 로컬에서 수정 -> Commit / Push -> 서버 Pull 을 통해 업데이트를 진행하였습니다.
다음에는 제가 포트폴리오 웹페이지 개발 시 사용한 CodeIgniter 프레임워크에 대해 포스팅하겠습니다.