Deploying JekyII to Github
Steps
- Change directory to your site
cd c:\my_site - Edit Gemfile
vi c:\my_site\Genfile - Comment gem “jekyII”….
- Update gem.
bundle update - Execute JekyII.
bundle exec jekyll serve - Clone your git page. Replace user_name with your real user name.
git clone git@github.com:user_name/user_name.github.io.git - Copy my_site\* to user_name.github.io.git\.
- Copy an index.html from jekyII example. Save it to user_name.github.io.git\index.html.
- Commit your site to Github. I create a batch file to do it. The content of file is like the following lines:
git add . git commit -F message_file.txt git push - Go to the URL http://user_name.github.io/.
Reference