Pertama anda harus install ruby di mesin anda installasinya bisa dilihat di sini kemudian install jekyll dan octopress melalui gem
gem install jekyll octopressoctopress new post 'New post'output:
New post: _posts/2016-04-09-new-title.markdownoctopress new draft 'new draft'output
New draft: _drafts/new-draft.markdownoctopress publish _drafts/new-draft.markdownoutput:
Published: _drafts/new-draft.markdown → _posts/2016-04-09-new-draft.markdown$ jekyll serveoutput:
Configuration file: /home/dimMaryanto/workspace/dimmaryanto.github.io/_config.yml
Source: /home/dimMaryanto/workspace/dimmaryanto.github.io
Destination: /home/dimMaryanto/workspace/dimmaryanto.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.238 seconds.
Auto-regeneration: enabled for '/home/dimMaryanto/workspace/dimmaryanto.github.io'
Configuration file: /home/dimMaryanto/workspace/dimmaryanto.github.io/_config.yml
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.$ jekyll serve --draftsoutput:
Configuration file: /home/dimMaryanto/workspace/dimmaryanto.github.io/_config.yml
Source: /home/dimMaryanto/workspace/dimmaryanto.github.io
Destination: /home/dimMaryanto/workspace/dimmaryanto.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.238 seconds.
Auto-regeneration: enabled for '/home/dimMaryanto/workspace/dimmaryanto.github.io'
Configuration file: /home/dimMaryanto/workspace/dimmaryanto.github.io/_config.yml
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.git add . && git statu && git commit -m 'new post' && git push originoutput:
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: README.md
new file: _posts/2016-04-09-new-draft.markdown