Github + Jekyll -- create a personal free blog (2) Ruby + Jekyll deployment
Abstract:
In this article, I will introduce how to set up a personal Blog (Blog) on github. By the way, let's take a look at githubPages, and also involve Jekyll technology.
========================
Official tutorial http://jekyllrb.com/docs/installation/1. Jekyll Introduction
Simple: No database, No comments, no need to update the version, just care about the content of the blog.
Static: A deployable static site can be built using only Markdown (or Textile), Liquid, HTML CSS.
Blog form: Custom addresses, categories, pages, blog content, and custom layout designs are the top citizens in the system.
ubuntu14.04+jekyll+github pages build a static blog1. Jekyll Introduction
simple : No database, No comments, no need to update the version, just care about the content of the blog.
static : A deployable static site can be built using only Markdown (or Textile), Liquid, HTML CSS.
Blog Form : Custom addresses, categories, pages, blog content, and
First, a good book: Http://git-scm.com/book/zh/v1, is said to read the first 4 chapters of this book will use GitHub most of the functions ofThen go to the topicOriginal address: http://www.ruanyifeng.com/blog/2012/08/blogging_with_jekyll.htmlBuild a free, unlimited-Flow blog----GitHub pages and Jekyll Getting StartedNanyiDate: August 25, 2012Those who like to wr
If you have a GitHub account and you have Git installed nativelyFirst, create a new warehouse
Go to your https://github.com homepage, create a new warehouse named USERNAME.github.com
Username for your username (hereinafter)
Second, installation Jekyll-bootstrap
Enter the following command in Git bash for example to clone the code to your local
git clone https://github.com
pages and the basic usage of Jekyll software. More importantly, you will experience a new way of building a website.
One, what is Github Pages.
If you know something about programming, you must have heard of GitHub. It claims to be a programmer's Facebook, with a high level of popularity and a host of important projects.
Simply put, it is a code warehouse with
Recently in the play GitHub, suddenly found a lot of instructions on the site or some of the introduction page all in a domain name is *****.github.io.Curious!!! Really curious!!! How did you do that? I also want a ~ ~ ~So went to the website to inquire about, found the official website of https://pages.github.com/.Only HTML static pages can be written. At the bottom, we found a github-recommended Jekyll.Je
-l2-6. Then the command line executes the gem install Jekyll 2-7. Command line execute gem install bundler3. Create a local blog3-1. Then above, command line execution Jekyll new blogs Create local blog with directory name Blogs3-2. Command line Execution Jekyll Server starts the Jekyll server with the following resul
There are many articles on the internet, including1, use GitHub, Jekyll build Your own free Independent blogHttp://blog.csdn.net/on_1y/article/details/19259435#t82, http://cenalulu.github.io/jekyll/This blogger's template is very good can fork for their own useThe quickest way to take advantage of Github+
New repository:Log on to the GitHub home page with a registered account, click the triangle next to the "+" symbol in the upper right corner to expand the Level two menu and select " New Repository ":and then we start naming our new repository, naming the rules that need to be followed: username/username.github.comafter the creation is complete, copy the current resource's git address : Ii. Project Content hosting: 1. git clone Span style= "mar
Use Jekyll-Bootstrap to set up a simple GitHub blog record
1. Add an SSH key:[HTML]Ssh-keygen-t rsa-c "email address"
Enter the command and press Enter. The following prompt is displayed. Press enter.[HTML]Enter file in which to save the key (/home/LQG/. Ssh/id_rsa ):
Then, the system prompts you to enter the encryption string for key decoding:[HTML]Enter passphrase (empty for no passphrase ):En
1. Add an SSH Key:[Html]Ssh-keygen-t rsa-C "email address"
Enter the command and press Enter. The following prompt is displayed. Press enter.[Html]Enter file in which to save the key (/home/lqg/. ssh/id_rsa ):
Then, the system prompts you to enter the encryption string for key decoding:[Html]Enter passphrase (empty for no passphrase ):Enter same passphrase again:
The following prompt is displayed:[Html]Your identification has been saved in/home/lqg/. ssh/id_rsa.Your public key has been saved in/
project library create a new Repo On the GitHub page. The Library name is username.github.com (I am lqgw.2.github.com );
Create a local folder with the same name
mkdir lqg1122.github.comcd lqg1122.github.com
3. Because we use the open-source blog framework Jekyll-Bootstrap, We need to download the code.
Git clone https://github.com/plusjade/jekyll-bootstrap.git
[Environment setup] install Jekyll in Windows and build jekyll
========================================================== ======================Author: qiujuerBlog: blog.csdn.net/qiujuerWebsite: www.qiujuer.netOpen-source Library: github.com/qiujuer/Genius-AndroidReprinted please indicate the source: http://blog.csdn.net/qiujuer/article/details/44620019-- Learning Open Source for open source; a beginner's
to the Ruby root directory.## Example:## ---# - C:/ruby19trunk# - C:/ruby192dev#---- C:\Ruby200-x64
Note: Under ---, it starts with "-" And then has a blank space, and then writes the absolute path of ruby.
Then try ruby dk. rb install. The following prompt is displayed:
$ ruby dk.rb install[INFO] Updating convenience notice gem override for 'C:/Ruby200-x64'[INFO] Installing 'C:/Ruby200-x64/lib/ruby/site_ruby/devkit.rb'
The installation is successful. then install
Problem Description:
Under the Ubuntu system, the Ruby development environment is installed first through the command sudo apt-get install Ruby, and then with the command-line gem install Jekyll install the GitHub page's development tool Jekyll, encountered an error message: Failed to build gem native extension details are as follows:
Error: Error installing
How to install, use, and uninstall JekyllHow to install, use, and uninstall Jekyll
Recently, Jekyll was used to launch a website on Github. It took several days to get to know about Jekyll. Now we will share with you how to install, use, and uninstall Jekyll.
OrderNew Year's first gun, easy and enjoyable, to complete some years ago to write the article. There are many ways to format code in Jekyll, and here are some ways to implement it.JekyllJekyll is a tool that is compiled into HTML through templates and data, which is a tool, but it can also be said to be a service, if you can make a semi-dynamic Web page with GitHub (built with
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.