Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

My introduction to the community #86

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 14 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ OSS Cameroon blogging website

[blog.osscameroon.com](https://blog.osscameroon.com)



## Prerequisites

The blog is powered by the [Hugo](https://gohugo.io/) website generator, with the [Chunky Poster](https://github.com/puresyntax71/hugo-theme-chunky-poster) theme and might require you to have a set of tools installed on your local machine such as :
Expand All @@ -15,20 +13,17 @@ The blog is powered by the [Hugo](https://gohugo.io/) website generator, with th

Learn more about **Hugo** [here](https://www.youtube.com/watch?v=qtIqKaDlqXo&list=PLLAZ4kZ9dFpOnyRlyS-liKL5ReHDcj4G3&ab_channel=MikeDane) or read the [documentation](https://gohugo.io/getting-started/quick-start/).




## Run it locally

Once you have cloned this repository and installed **Hugo** as described [here](https://gohugo.io/getting-started/installing/), you can run the server locally with this command:

```shell
$> hugo serve -D
$> hugo server -D
```

The command should output something similar to this

```
```sh
Start building sites …

| EN
Expand Down Expand Up @@ -58,31 +53,25 @@ If you want to use Docker
$> docker-compose up
```

##### Open the blog locally

Now that your server is running open your web browser on the url displayed in your server output `Web Server is available at http://localhost:1313/ `

### Open the blog locally

Now that your server is running open your web browser on the url displayed in your server output `Web Server is available at http://localhost:1313/`

## How to add a blog post

To add a blog post, make sure you are in the root of the directory then run:

```shell
$> hugo new post/articles/my_new_post.md
/Users/<repository_path>/osscameroon-blog/content/post/articles/<my_new_post_name>.md created
/Users/<repository_path>/osscameroon-blog/content/post/articles/<my_new_post_name>.md created
```

Now that your post has been added it should be visible on your local instance at http://localhost:1313.
Now that your post has been added it should be visible on your local instance at <http://localhost:1313>.



##### Add your blog post content
## Add your blog post content

Open `/osscameroon-blog/content/post/articles/<my_new_post_name>.md` in your text editor and add your blog content.



## How to add an Author

You can add a new **author** to the website simply by running this command:
Expand All @@ -92,8 +81,6 @@ $> hugo new authors/<new_author_name>/_index.md
/Users/<repository_path>/osscameroon-blog/content/authors/<new_author_name>/_index.md created
```



The `/content/authors/<new_author_name>/_index.md` file was created and contains new author metadata as follows:

```yaml
Expand All @@ -104,15 +91,11 @@ twitter: ""
---
```



##### Add Twitter metadata
## Add Twitter metadata

You can add the new author Twitter handle in the `twitter` field in the `/content/authors/<new_author_name>/_index.md` file.



##### Add images
### Add images

Add images for the new author in the `images` field in the `/content/authors/<new_author_name>/_index.md` file. The first image will be used as a profile picture.

Expand All @@ -126,38 +109,35 @@ twitter: ""
---
```



## How to add a contributor

To add a new contributor run:

##### Using hugo
using `hugo`

```shell
$> hugo new post/contributors/<new_contributor_name>.md
/Users/<repository_path>/osscameroon-blog/content/post/contributors/<new_contributor_name>.md created
```


Your new contributor `<new_contributor_name>.md` file has been created, now add something about him.


##### Manually
### Manually

* Create a file `<new_contributor_name>.md` in osscameroon-blog/content/post/contributors
* Open the `<new_contributor_name>.md` with your editor and add these lines at the top of your file
```

```markdown
---
title: "<new_contributor_name>"
date: 2021-01-29T20:33:40+01:00
authors: ["<new_contributor_name"]
---
```

* Change the `date: <date>` to the date and time you want
* Save the file


## How Deploy the blog

To deploy the blog, run this command:
Expand All @@ -166,12 +146,8 @@ To deploy the blog, run this command:
cd ./scripts/ && ./deploy.sh
```



This command might not work due to missing credentials. Contact the project maintainers to get some help.



## Licence

The website is under the [GPL-3.0 License](https://github.com/osscameroon/osscameroon-blog/blob/main/LICENSE) license, but the blog post are the exclusive property of [OssCameroon](https://osscameroon.com).
11 changes: 11 additions & 0 deletions content/authors/eddybruv/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: "Eddybruv"
images: ["eddybruv.jpg"]
twitter: "eddybruv_"
---

#### Hello! I'm Eddy

I'm a Fullstack Web Developer

I spend my time coding and learning new things, or helping people to code. And I also love contributing to open source projects.
Binary file added content/authors/eddybruv/eddybruv.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions content/post/contributors/eddybruv.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "Eddybruv"
date: 2022-04-25T03:19:23+01:00
images: []
categories: []
tags: []
authors: ["eddybruv"]
---

Hello, I'm Edwin Ajong, you can call me Eddy👀. I'm a level 300 student in UB(means its my 2nd year in university)😅, reading computer engineering(Faculty of Engineering and Technology).

I started my journey in this tech field just about a year ago when I got into the univeristy. So far, the journey has been an exciting one, not an easy on tho😐, but I guess we all have to be consistent to make it😁.
eddybruv marked this conversation as resolved.
Show resolved Hide resolved

The skills in my arsenal are: C, HTML5, CSS3, Bootstrap, JavaScript, ReactJS, Express, Node, MongoDB.

Together with the above, I'm currently learning python, java(for school purposes), and NextJS.

I'm happy to belong to this tech community✊.

Nice to meet you💖.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to meet you. It is a pleasure to have you onboard 😄