https://github.com/dimmaryanto93/blogs
Blog: Dimas Maryanto
https://github.com/dimmaryanto93/blogs
devicons jekyll materializecss octopress openshift
Last synced: about 2 months ago
JSON representation
Blog: Dimas Maryanto
- Host: GitHub
- URL: https://github.com/dimmaryanto93/blogs
- Owner: dimMaryanto93
- License: gpl-3.0
- Created: 2017-03-28T21:30:49.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-04T06:46:25.000Z (over 8 years ago)
- Last Synced: 2025-05-18T10:06:28.735Z (about 1 year ago)
- Topics: devicons, jekyll, materializecss, octopress, openshift
- Language: JavaScript
- Homepage: http://www.dimas-maryanto.com/blogs/
- Size: 13.9 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jekyll Template (Membuat blog dengan mudah)
## Install Ruby
Pertama anda harus install ruby di mesin anda installasinya bisa dilihat [di sini](https://www.ruby-lang.org/id/downloads/) kemudian install ```jekyll``` dan ```octopress``` melalui ```gem```
```bash
gem install jekyll octopress
```
### Membuat post baru
```bash
octopress new post 'New post'
```
output:
```bash
New post: _posts/2016-04-09-new-title.markdown
```
### Membuat draft baru
```bash
octopress new draft 'new draft'
```
output
```bash
New draft: _drafts/new-draft.markdown
```
### Publish draft to post
```bash
octopress publish _drafts/new-draft.markdown
```
output:
```bash
Published: _drafts/new-draft.markdown → _posts/2016-04-09-new-draft.markdown
```
### Running local server
```bash
$ jekyll serve
```
output:
```bash
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.
```
### Running local server with drafts
```bash
$ jekyll serve --drafts
```
output:
```bash
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.
```
### Publish to github page
```bash
git add . && git statu && git commit -m 'new post' && git push origin
```
output:
```bash
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD ..." to unstage)
modified: README.md
new file: _posts/2016-04-09-new-draft.markdown
```