make github blog
π¦ make github blog
github blog
λ§λ€κΈ°κΉμ§
(username).github.io λ‘ repository μ΄λ¦μ μ νλ€.
ruby μ€μΉ μν΄μ hombebrew μ€μΉ.
- ruby μ€μΉ
$ brew install rbenv ruby-build
$ rbenv install (version)
- jekyll μ€μΉ
$ sudo gem install jekyll bundler
- make local repository
$ git clone https://github.com/hyun99999/hyun99999.github.io.git
- ν΄λ‘ λ°μ ν΄λ λ΄μμ jekyll μμ±
$ jekyll new ./
$ bundle install
-
μμ±λ μ¬μ΄νΈ μ€ν
$ bundle exec jekyll serve
-
κ°λ°μ© μλ² νμΈ http://localhost:4000 μ μ μ
ν λ§μ μ©
https://github.com/topics/jekyll-theme μμ ν λ§ λ€μ΄λ‘λ.
λ΄κ° κ³ λ₯Έ ν λ§
https://github.com/mmistakes/minimal-mistakes
-
jekyll μ€μΉν ν΄λλ‘ λ³΅μ¬
-
νλ¬κ·ΈμΈ μ€μΉ
$ bundle install
-
μλ² μ€ν
$ bundle exec jekyll serve
-
μ μ©λ ν λ§ local μλ²λ₯Ό ν΅ν΄μ νμΈ
- λ°°ν¬νκΈ°(github μ μ¬λ¦°λ€.)
$ git add . $ git commit -m "..." $ git push origin master
- build fail
https://github.com/mmistakes/minimal-mistakes#remote-theme-method https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#github-pages-method
μ°Έμ‘°ν΄μ ν΄κ²°.
μ κΈ μμ±
_posts
λλ ν 리μ μ νμΌμ λ§λ¬. ```swift Jekyll μ΄ μ΄ νμΌμ λΈλ‘κ·Έ ν¬μ€νΈλ‘ μΈμνκ² νλ €λ©΄ νμΌλͺ μ λ€μ νμμ λ§μΆ°μΌ ν©λλ€: YEAR-MONTH-DAY-title.MARKUP
μ¬κΈ°μ YEAR λ λ€ μ리μ μ«μ, MONTH μ DAY λ λ μ리 μ«μμ΄κ³ , νμ₯μ λΆλΆμ MARKUP μ νμΌμ μ¬μ©λ λ§ν¬λ€μ΄ ν¬λ§·μ λλ€. μ¬λ°λ₯Έ ν¬μ€νΈ νμΌλͺ μ μλ‘ λ€λ©΄ λ€μκ³Ό κ°μ΅λλ€ 2011-12-31-new-years-eve-is-awesome.md 2012-09-12-how-to-write-a-blog.md ```
μΆμ²
μΆμ²γ £https://jetalog.net/87?category=808871
μΆμ²γ £https://jekyllrb-ko.github.io/docs/posts/
μΆμ²γ £[choi2]https://iamcho2.github.io/2020/09/16/make-my-own-github-blog