띵스플로우 기술블로그
띵스플로우 기술블로그
접속 주소
- https://techblog.thingsflow.com
로컬에서 빌드하기
- 로컬에서 깃블로그를 빌드하기 위해서는 루비 설치가 필요합니다.
- 자세한 Ruby 설치는 공식 문서 참고
git clone git@github.com:thingsflow/techblog.thingsflow.com.git
brew install ruby
cd techblog.thingsflow.com/docs
bundle install
cd ..
jekyll serve
http://127.0.0.1:4000/ 에서 접속 가능.
(다음부턴 홈 디렉토리에서 jekyll serve 명령어 한번만 입력 후 링크 접속)
준비
- 원격저장소 pull
git pull git@github.com:thingsflow/techblog.thingsflow.com.git
블로그에 회원 등록
- /_authors 에 이름.성.md 파일 생성
--- name: ilhan.ryu title: 류일한 avatar: /assets/authors/ilhan.ryu.jpeg --- - 본인 프로필 사진 /assets/authors/이름.성.png | jpg | jpeg 생성
블로그에 글 작성하기
- /_posts에 yyyy-mm-dd-글제목.md 파일 생성 md파일 최상단에 아래의 형식을 지켜서 업로드 해주세요 ~~~ — title: “글제목” excerpt: “.” author: 성.이름
categories:
- tech tags:
- skillstore last_modified_at: 2020-02-08T08:06:00-05:00 — ~~~
- author은 1번의 파일 이름과 동일해야 한다.
- categories는 한개만
- tags는 여러개
- markdown으로 게시글을 작성합니다.
- vscode의 Markdown Preview Enhanced와 같은 extension을 이용하는걸 추천 합니다.
- md파일을 추가하고 post branch에 push 합니다
git push origin post - master branch에 PR을 올립니다.
- md파일을 추가하고 post branch에 push 합니다