Skip to content

Commit 5b67114

Browse files
committed
new README
1 parent 21f0017 commit 5b67114

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

README.md

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# netobserv.io
2+
3+
This repository contains the code for the [netobserv.io](https://netobserv.io) web site / blog.
4+
5+
## How it works
6+
7+
It uses the static site generator [Quarkus Roq](https://pages.quarkiverse.io/quarkus-roq/) to generate a static HTML site based on markdown pages.
8+
9+
Most of the time, writing content simply requires you to drop a new markdown file in [content/posts](./content/posts/), and assets (such as images) in [static/assets](./static/assets/). A few meta-data is also required at the top of the markdown file, such as:
10+
11+
```
12+
---
13+
layout: :theme/post
14+
title: "Your post title"
15+
description: "The post description"
16+
tags: Insert,Some,Tags,Here
17+
authors: [your-name]
18+
---
19+
20+
```
21+
22+
Then, open a pull-request and the post will be reviewed by maintainers.
23+
24+
First-time contributors should also provide some info about themselves in [data/authors.yml](./data/authors.yml).
25+
26+
## Testing locally
27+
28+
To test locally, the simplest way is to use the [quarkus CLI](https://quarkus.io/guides/cli-tooling).
29+
30+
After you cloned this repository, from its root, run:
31+
32+
```bash
33+
quarkus dev
34+
```
35+
36+
And then open http://localhost:8080/
37+
38+
## Deploying on netobserv.io
39+
40+
Deploying on netobserv.io is fully automated after pull-requests are merged. This is all handled via [a github action](./.github/workflows/static.yml) that runs quarkus to generate the static HTML artifact, which is deployed through GitHub pages.
41+
42+
## Contributions
43+
44+
Like all the other NetObserv components, this blog is open-source and we are welcoming external contributions. Feel free to open pull-requests!

0 commit comments

Comments
 (0)