Blog built by Jekyll on Github (tutorial for amateurs) 2

Having a blog page might bring fun but the work coming would be a total disaster. We need to build a environment that generates the whole static page locally. Today, we are going to talk about configuring Jekyll on Win 7. And last warning: never configure Jekyll on Windows…

Environment

Windows 7

Requirement

Tutorials

A quick example of generating a blog in the official documentation:

	~ $ gem install jekyll
	~ $ jekyll new myblog
	~ $ cd myblog
	~/myblog $ jekyll serve
	# => Now browse to http://localhost:4000

That looks easy, however, on the circumstances that you have configured Jekyll succussfully.

Now let’s begin to install.

Here’s the list of environment required for installing Jekyll in the official documentation:

When it comes to details, you’ll find the list is way more longer and their versions count, and suck.

Ruby installation

Just, install as recommands and don’t ask me why…

After installing DevKit, you may need to set up the Devkit for Ruby.

“C:\DevKit” is where you install DevKit. “C:\Ruby25-x64” is where you install Ruby.

Rubygems installation

Any erorr would appear between commands then Google is recommanded. You can ask in the comment bar and I would answer if I could.

Jekyll installation……?

Just don’t give it up easily when encountering any adversities. Problemshooting is an crucial ability you need everywhere. Again, you can turn to google, or me.

Github-pages installation

They’re not exactly the same.

Now, you can enter 127.0.0.1:4000 into your browser address bar to check your blog locally .

1-11

Push your blogs online

Enter 127.0.0.1:4000 into your browser address bar.

Now that you have the local repository and the tools to operate, you can try to change files locally.

Here comes the last step: write your own blog!

Markdown is the blog style used in this blog. Mardown edit softwares are listed: Window: MarkdownPad, MarkPad ISO: Mou, Drafts, Day One, iA Writer,Tublme Oline: Draftin, Markable.in, Dillinger.io, MaDe(Chrome plugin)

How about “Hello World!”

1-7

About the syntax of markdown, here recommamd the original one, and Chinese version

After every changes in your blog, operate bundle exec jekyll serve and git push as described above or use GitHub DeskTop to push. Then, enter yourusername.github.io into your browser address bar and see what happens!

Problemshooting

Once again, when encountering any problems, you can turn to me or google. Here is some warm-hearted blogers I found, who gave instructions of some problems.

Thanks for reading!

Any questions are welcome. I’m a starter myself so feel free to ask!

Refference

On the edge

Table of Contents