How to setup your blog using github and jekyll
References
Steps
1. Create a git repository using your github account
- For example, my new github repository name is blog.
2. Install jekyll
3. Find a blog website template on Start Bootstrap
- My blog’s template is jekyll-TeXt-theme
- Download the template file.
4. Start jekyll serve and review jekyll-TeXt-theme blog website
$ cd ~/jekyll-TeXt-theme
$ bundle exec jekyll serve
In _config.yml file: baseurl: /blog
Using the browser open the server address: http://127.0.0.1:4000/blog
5. Deploy your site using GitHub for free
$ cd ~/jekyll-TeXt-theme
$ git init
$ git add .
$ git commit -am "first commit"
$ git remote add origin https://github.com/tanmengwen/blog.git
$ git push
You will see jekyll-TeXt-theme files in your github repository.
Done!!! Blog address is https://tanmengwen.github.io/blog/.
If you still have some questions, there is a good video How to Install Jekyll Themes which shows how to setup the blog step by step.
PREVIOUSHow to install OpenCV