Skip to content

Commit

Permalink
Merge pull request #141 from incubyte/bugfix/blog-images
Browse files Browse the repository at this point in the history
Bugfix- Update blog and author images
  • Loading branch information
2KAbhishek committed Jun 14, 2023
2 parents c4acc70 + 8af41ba commit 72c30fa
Show file tree
Hide file tree
Showing 26 changed files with 57 additions and 28 deletions.
13 changes: 7 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

Use standard nouns as `prefix` to categorize the branch, e.g:

- blog : The branch only includes blog related changes such as adding/editing a blog
- article : The branch only includes blog related changes such as adding/editing an article
- feature : When a new feature is to be added such as dark mode to our website
- bugfix/hotfix : The purpose is to simple fix a bug that has sipped in

Expand All @@ -26,23 +26,24 @@ Use standard nouns as `prefix` to categorize the branch, e.g:
- The branch name should be short and able to convey the objective of the changes
- We'll follow the use of `/`(slash) delimiter between the category and branch motive
- Branch names should be hyphenated, they should be in `lower-kebab-case`
- For example, if the goal is to add a blog on ElasticSearch, the branch name can be - `blog/why-elastic-search`
- For example, if the goal is to add a blog on ElasticSearch, the branch name can be `article/why-elastic-search`

### What to avoid:

- Long names
- Only numerals
- Full sentences

The above-mentioned branches are meant to be short-lived. The branches should be deleted as soon as the branch is merged to `main`.
These branches should be deleted as soon as the branch is merged to `main`.

## PR Naming Convention

- To keep a better track of blogs and filter them quickly, two things can be done:
- Add a prefix `Blog: foo bar` to the title of the PR
- Add the label `blog` to your PR
- Add a prefix `Article: foo bar` to the title of the PR
- Add the label `article` to your PR

## Commit messages convention

- We'll follow category naming convention similar to what is explained for branches.
- Here's a quick rundown - [Standard Terminology](https://gist.github.com/turbo/efb8d57c145e00dc38907f9526b60f17)
- Here's a quick rundown — [Standard Terminology](https://gist.github.com/turbo/efb8d57c145e00dc38907f9526b60f17)

44 changes: 36 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,43 @@
# incubyte.github.io
# [incubyte.github.io](https://blog.incubyte.co)

[Our blog! ✍🏼](https://blog.incubyte.co/)

## How to contribute
## Contributing

### Prerequisites

- Checkout the project and submodule using `git clone --recurse-submodules https://github.com/incubyte/incubyte.github.io.git`
- Install [hugo](https://gohugo.io/getting-started/installing/)
- [Linux] `hugo server -D` to start the server in local and visit http://localhost:1313
- [Windows] `docker run --rm -it -p 1313:1313 -v ${PWD}:/src klakegg/hugo:alpine server` to start the server in local and visit http://localhost:1313
- `hugo new blog/article-name.md` to create new post
- If you are adding images make sure they are optimized, we suggest something like `https://squoosh.app/`, images are stored in `static/images`
- Commit in a new branch and create PR against `main` branch

For Linux and Mac you can go with [brew](https://brew.sh/), or your distro's package manager, on Windows you can use [winget](https://apps.microsoft.com/store/detail/app-installer/9NBLGGH4NNS1?hl=en-in&gl=in&rtc=1)

```bash
# For Mac and Linux
brew install hugo

# For Linux with package managers
apt install hugo

# For Windows
winget install Hugo.Hugo.Extended
```

### Local Setup

Checkout the project and submodule

```bash
git clone --recurse-submodules https://github.com/incubyte/incubyte.github.io.git
cd incubyte.github.io
hugo server -D
```
The blog should now be live at http://localhost:1313

To add a new article
```bash
hugo new blog/article-name.md`
```
If you are adding images make sure they are optimized, we suggest something like `https://squoosh.app/`, images are stored in `static/images`

Commit in a new branch and create PR against `main` branch

[Contributing Guidelines](./CONTRIBUTING.md)
2 changes: 1 addition & 1 deletion content/authors/abhishek-keshri/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Abhishek Keshri
image: "https://avatars.githubusercontent.com/u/25423853?v=4"
image: '/authors/abhishek-keshri/abhishek.jpg'
subtitle: "Software Craftsperson @Incubyte 💼 | Learner 📚 | Maker 👨🏻‍💻 | Explorer 🔎"
---

Expand Down
Binary file added content/authors/abhishek-keshri/abhishek.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions content/authors/arohi-parikh/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Arohi Parikh
image: 'https://pbs.twimg.com/profile_images/1361584483950944257/GxLeOb2r_400x400.jpg'
image: '/authors/arohi-parikh/arohi.jpg'

---
Operations [@incubyte_co](https://twitter.com/incubyte_co) | Community Builder [@swcraftindia](https://twitter.com/swcraftindia) | Conscious Human | Words: "Leave the world better than you found it"
Operations [@incubyte_co](https://twitter.com/incubyte_co) | Community Builder [@swcraftindia](https://twitter.com/swcraftindia) | Conscious Human | Words: "Leave the world better than you found it"
Binary file added content/authors/arohi-parikh/arohi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions content/authors/rushali-parikh/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Rushali Parikh
image: 'https://d3dkvycwtjicra.cloudfront.net/wp-content/uploads/2017/07/04095225/Rushali-Parikh-e1500276121166.jpg'
image: '/authors/rushali-parikh/rushali.jpg'
---
Co-founder of [@incubyte_co](https://twitter.com/incubyte_co) | Co-organizer of Software Craftspeople - India | Product Enthusiast | Dedicated to making clean coding practices accessible
Co-founder of [@incubyte_co](https://twitter.com/incubyte_co) | Co-organizer of Software Craftspeople - India | Product Enthusiast | Dedicated to making clean coding practices accessible
Binary file added content/authors/rushali-parikh/rushali.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion content/authors/sutirtha-das/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Sutirtha Das
image: "https://avatars.githubusercontent.com/u/53258966?v=4"
image: '/authors/sutirtha-das/sutirtha.jpg'
subtitle: "Software Craftsperson @Incubyte | Reader | Writer | Developer"
---
Binary file added content/authors/sutirtha-das/sutirtha.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion content/blog/dead-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ["Sapan Parikh"]
date = 0001-01-01T00:00:00Z
description = ""
draft = true
image = "https://images.unsplash.com/photo-1536094919620-d948a02d5085?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMTc3M3wwfDF8c2VhcmNofDZ8fGRlYWR8ZW58MHx8fHwxNjE4NjQ1NzMy&ixlib=rb-1.2.1&q=80&w=2000"
image = "/images/2023/dead-code-header.jpg"
slug = "dead-code"
title = "Dead code"

Expand Down
2 changes: 1 addition & 1 deletion content/blog/do-not-fall-for-faux-agile.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ categories = ["97 Things Not To Do"]
date = 2020-08-01T00:00:00Z
description = ""
draft = false
image = "https://images.unsplash.com/photo-1586892478377-bb79da0a70c2?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=2000&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ"
image = "/images/2023/faux-agile-header.jpg"
slug = "do-not-fall-for-faux-agile"
tags = ["97 Things Not To Do"]
title = "Do not Fall for faux agile"
Expand Down
2 changes: 1 addition & 1 deletion content/blog/do-not-get-so-busy-that-you-stop-learning.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ categories = ["97 Things Not To Do"]
date = 2020-09-01T00:00:00Z
description = ""
draft = false
image = "https://images.unsplash.com/photo-1510751190565-de07085fcad6?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=2000&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ"
image = "/images/2023/busy-learning-header.jpg"
slug = "do-not-get-so-busy-that-you-stop-learning"
tags = ["97 Things Not To Do"]
title = "Do not Get so busy that you stop learning"
Expand Down
2 changes: 1 addition & 1 deletion content/blog/do-not-optimize-prematurely.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ categories = ["97 Things Not To Do"]
date = 2020-09-01T00:00:00Z
description = ""
draft = false
image = "https://images.unsplash.com/photo-1506818144585-74b29c980d4b?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=2000&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ"
image = "/images/2023/premature-header.jpg"
slug = "do-not-optimize-prematurely"
tags = ["97 Things Not To Do"]
title = "Do not Optimize Prematurely"
Expand Down
2 changes: 1 addition & 1 deletion content/blog/do-not-show-separate-estimate-for-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ categories = ["97 Things Not To Do"]
date = 2020-09-01T00:00:00Z
description = ""
draft = false
image = "https://images.unsplash.com/photo-1516534775068-ba3e7458af70?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=2000&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ"
image = "/images/2023/testing-estimate-header.jpg"
slug = "do-not-show-separate-estimate-for-testing"
tags = ["97 Things Not To Do"]
title = "Do not Show Separate Estimate for Unit Testing"
Expand Down
2 changes: 1 addition & 1 deletion content/blog/feedback.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ categories = ["Playbook"]
date = 2020-08-01T00:00:00Z
description = ""
draft = false
image = "https://images.unsplash.com/photo-1522542550221-31fd19575a2d?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=2000&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ"
image = "/images/2023/feedback-header.jpg"
slug = "feedback"
tags = ["Playbook"]
title = "Feedback & Rapid Prototyping"
Expand Down
2 changes: 1 addition & 1 deletion content/blog/notalltestsarethesame.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ categories = ["Software Craftsmanship"]
date = 2021-01-01T00:00:00Z
description = ""
draft = false
image = "https://images.unsplash.com/photo-1570215170761-f056128eda48?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MXwxMTc3M3wwfDF8c2VhcmNofDN8fHFhfGVufDB8fHw&ixlib=rb-1.2.1&q=80&w=2000"
image = "/images/2023/not-all-test-header.jpg"
slug = "notalltestsarethesame"
tags = ["Software Craftsmanship"]
title = "Not All Tests are the Same"
Expand Down
2 changes: 1 addition & 1 deletion content/blog/planning.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ categories = ["Playbook"]
date = 2020-08-01T00:00:00Z
description = ""
draft = false
image = "https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=2000&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ"
image = "/images/2023/planning-header.jpg"
slug = "planning"
tags = ["Playbook"]
title = "Planning & Communication"
Expand Down
Binary file added static/images/2023/busy-learning-header.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/2023/dead-code-header.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/2023/faux-agile-header.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/2023/feedback-header.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/2023/not-all-test-header.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/2023/planning-header.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/2023/premature-header.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/2023/testing-estimate-header.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 72c30fa

Please sign in to comment.