Skip to content

motlabs/motlabs.github.io

Repository files navigation

motlabs.github.io

📚 GitHub Pages powered motlabs Blog, with Jekyll and Kiko-plus

Getting Started (on MacOS)

  • please contribute installation method for other OS.

1. Install Homebrew

workspace$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2. Install Ruby

workspace$ brew install ruby

3. Install Jekyll and Plugins

workspace$ sudo gem install jekyll
workspace$ sudo gem install jekyll-paginate
workspace$ sudo gem install jekyll-admin
workspace$ sudo gem install jekyll-seo-tag

Note that gem may require ruby version update.

workspace$ \curl -sSL https://get.rvm.io | bash -s stable
workspace$ rvm install ruby-2.x.x
workspace$ rvm use ruby-2.x.x --default

4. Clone Repository

workspace$ git clone https://github.com/motlabs/motlabs.github.io.git

5. Serve

workspace$ cd motlabs.github.io/
workspace/blog$ jekyll serve
Configuration file: workspace/motlabs.github.io/_config.yml
            Source: workspace/motlabs.github.io
       Destination: workspace/motlabs.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 0.408 seconds.
 Auto-regeneration: enabled for 'workspace/motlabs.github.io'
    Server address: http://127.0.0.1:4000
  Server running... press ctrl-c to stop.

6. Open http://127.0.0.1:4000 to see what happens!

Getting Started (on Window10)

1. Install Ruby

Go to below link and download RubyInstaller, install ruby by RubyInstaller.

2. Install Jekyll and Plugins

Run Start Command Prompt with Ruby app, and type the following command.

gem install jekyll
gem install bundler
gem install minima
gem install jekyll-feed
gem install tzinfo-data
gem install jekyll-paginate
gem install jekyll-admin
gem install jekyll-seo-tag

3. Clone Repository

Run Git Bash app, and type the following command.

git clone https://github.com/motlabs/motlabs.github.io.git

4. Serve

Run Start Command Prompt with Ruby app, and type the following command.

cd motlabs.github.io/
jekyll serve
Configuration file: D:/motlabs.github.io/_config.yml
            Source: D:/motlabs.github.io
       Destination: D:/motlabs.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 0.881 seconds.
  Please add the following to your Gemfile to avoid polling for changes:
    gem 'wdm', '>= 0.1.0' if Gem.win_platform?
 Auto-regeneration: enabled for 'D:/motlabs.github.io'
  JekyllAdmin mode: production
    Server address: http://127.0.0.1:4000
  Server running... press ctrl-c to stop.

5. Open http://127.0.0.1:4000 to see what happens!

New Blog Post with typora.io

[For the first time] 
1. Sign up `https://ko.gravatar.com/` and fill up you profile.
2. Upload your profile image.
3. Generate your Hash code from your email address by http://www.miraclesalad.com/webtools/md5.php
4. Open _config.yml, fill up your author information
5. Send pull request to the master branch.
  1. Create YYYY-MM-DD-Your-Blog-Title.md under _posts/

  2. Write, save, and check on http://127.0.0.1:4000

  3. Create new feature branch from develop, commit, push and send PR to develop

  4. After PR Review and final checking, post will be merged into master branch

  5. Jekyll will automatically compile blog into https://motlabs.github.io/

Troubleshooting

Buy @jwkanggist a cup of coffee and everything will be fine 🎉


Kiko-plus License

Take a closer look later

Open sourced under the Apache License 2.0.

<3