Skip to content

Code for the blogging service of while-true-do.io.

License

Notifications You must be signed in to change notification settings

whiletruedoio/blog.while-true-do.io

Cirrus CI - Base Branch Build Status CodeFactor GitHub Tag (latest SemVer) GitHub issues GitHub pull requests GitHub license

blog.while-true-do.io

Code for the blogging service of while-true-do.io..

Motivation

As a community project, we want to inform our users and publish knowledge. This can be done with a platform that allows contributors to publish new articles on a regular basis.

Description

The repository holds the deployment data for blog.while-true-do.io. The blog engine is based on the popular and simple Ghost blogging platform.

In addition, we will track new ideas and article progress in the GitHub issues.

Architecture

You can find a small architectural diagram of the blog engine in the docs directory.

Usage

We are really happy, that you consider using our software. In case you want to install and run the code on your machine, please check out this section.

Requirements

The deployment is done on Kubernetes. Therefore, you will need a Kubernetes instance running to apply the deployment. As a reference, you can have a look at kube.while-true-do.io.

For development purposes, you can also use Minikube or plain k3s.

Install

The installation of the deployment is done with kustomize. Kustomize is baked into kubectl.

For now, we are offering 3 different environments:

Home

The home environment is the default environment. It can be used for your personal home server, development or small environments.

# Deploy to the home environment
$ kubectl apply -k kubernetes/overlays/home/

This will create:

  • a namespace "blog-home-while-true-do-io"
  • an ingress "blog.home.while-true-do.io"
  • the necessary services, deployments, configMap and persistent volumes

Test

The test environment is used for testing purposes. It is used in our testing area to learn about new features and try out new ideas.

# Deploy to the test environment
$ kubectl apply -k kubernetes/overlays/test/

This will create:

  • a namespace "blog-test-while-true-do-io"
  • an ingress "blog.test.while-true-do.io"
  • the necessary services, deployments, configMap and persistent volumes

Prod

The production environment is used for the deployment of the blog. For now, it does not differ from other deployments, but is intended to facilitate certain scaling and HA features in the future.

# Deploy to the prod environment
$ kubectl apply -k kubernetes/overlays/prod/

This will create:

  • a namespace "blog-prod-while-true-do-io"
  • an ingress "blog.while-true-do.io"
  • the necessary services, deployments, configMap and persistent volumes

Documentation

The deployment is based on the famous Ghost blogging engine which is documented in the Ghost documentation.

The software is open source and can be found on GitHub.

Contribute

Thank you so much for considering to contribute! We are happy, when someone is joining the hard work. Please have a look at the Contributor Conventions beforehand.

Issues

Issues and Pull Requests are handled on a regular basis. Please be aware, that we may reach out to you, ask you to provide additional resources or want to discuss the issue a little, before planning it.

Develop

In case you want to customize the deployment or help developing, you should copy one of the overlays and inspect each of the files. You need to adjust at least:

  • the namespace.yml
  • the ingress.yml
  • the blog-web.env

You should also make yourself comfortable with the use of MiniKube and Kustomize.

Changelog

We are maintaining a changelog for repositories. Normally, the developers will update the changelog, according to keepachangelog.com.

Test

To ensure a high quality and functionality, we want to carefully test our software. The provided code is automatically tested as described in the .cirrus.yml.

License

Except otherwise noted, all work is licensed under a BSD-3-Clause License.

Contact

Please feel free to reach out to us and the community. We also recommend to read and understand the Code of Conduct beforehand.

About

Code for the blogging service of while-true-do.io.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages