Skip to content

Commit

Permalink
feat(location): init repo
Browse files Browse the repository at this point in the history
  • Loading branch information
KeJunMao committed Jun 4, 2017
0 parents commit 0cc690e
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
57 changes: 57 additions & 0 deletions install.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
@echo off
:hello
title AutoInstall-Jekyll-Welcome!
echo ****************************
echo * AutoInstall-Jekyll *
echo * Powered By KeJun *
echo ****************************

pause

:checkruby
title: AutoInstall-Jekyll-Check Ruby
ruby -v

if errorlevel 9009 goto installruby

if errorlevel 0 goto checkjekyll

:checkjekyll
title: AutoInstall-Jekyll-Check Jekyll
jekyll -v

if errorlevel 9009 goto installjekyll

if errorlevel 0 goto exitc

:installruby
title AutoInstall-Jekyll-Install Ruby24!
echo Install Ruby
pause
rubyinstaller-2.4.1-1-x86.exe /silent
cd C:\Ruby24\bin
ruby.exe -v

if errorlevel 9009 goto exits

if errorlevel 0 goto checkjekyll

:installjekyll

title Install Jekyll 3 and bundler!

echo Install Jekyll and bundler

pause

gem install bundler jekyll && pause

echo Jekyll 3 and bundler installed successfully!

:exits
echo Installation failure!
pause

:exitc
echo Congratulations installed successfully!
pause
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Autoinstall Jekyll for windows

```
git clone https://github.com/KeJunMao/fastjekyll.git
```

click `install.bat`

enjoy!
Binary file added rubyinstaller-2.4.1-1-x86.exe
Binary file not shown.

0 comments on commit 0cc690e

Please sign in to comment.