https://github.com/gluster/devblog
Developer Blogs
https://github.com/gluster/devblog
Last synced: about 1 year ago
JSON representation
Developer Blogs
- Host: GitHub
- URL: https://github.com/gluster/devblog
- Owner: gluster
- Created: 2019-03-04T09:24:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-10-06T04:37:24.000Z (over 3 years ago)
- Last Synced: 2025-04-22T21:02:07.383Z (about 1 year ago)
- Language: HTML
- Homepage: https://gluster.github.io/devblog
- Size: 144 KB
- Stars: 2
- Watchers: 7
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Developer Blogs
Are you interested to write a blog post in Gluster dev blog? Why wait,
clone the [devblog](https://github.com/gluster/devblog) repo and start
writing.
```
git clone git@github.com:gluster/devblog.git
cd devblog
```
First-time users need to add Author information by running
`./newauthor `.
```
$ ./newauthor aravindavk
Created Author page(author/aravindavk.md)
Updated author information in _data/authors.yml
```
Update the details in `$SRC/_data/authors.yml` file as required.
To write new blog post, run `./newblog ` to create the markdown
file under `$SRC/_posts` directory. For example,
```
$ ./newblog "My Awesome Blog"
Created _posts/2019-03-28-my-awesome-blog.md
Happy Blogging!
```
## Installation and Preview
- Install ruby-devel package(`sudo dnf install ruby-devel`)
- Install jekyll using `gem install bundler jekyll`
- Install the dependencies from project directory `bundle install --path vendor/bundle`
From this project directory, run `bundle exec jekyll serve
--baseurl=""` and open http://localhost:4000 for preview.
## Publish
Once the preview is satisfactory, commit the changes and create a pull
request. Once merged, the blog URL will be
https://gluster.github.com/devblog/my-awesome-blog
## Editing help
Follow markdown format to write the post. Additionally, if images to be
used in the blog, add the image to `$SRC/images` directory and use
relative URL to include that in the post. For example, ``
If the caption needs to be added to the image then use the following
syntax.
```
{% raw %}{% include image.html url="images/blog-image.jpg" description="This is a image" %}{% endraw %}
```