Skip to content

lunatech-labs/lunatech-blog-engine

 
 

Repository files navigation

lunatech-blog-engine

The blog engine that powers the future blog.lunatech.com

This blog engine simply goes to a github repository and expect a repository with the following structure:

In the posts directory a file with the following structure yyyy-MM-dd-name-of-the-blog.adoc

In the media directory a directory yyyy-MM-dd-name-of-the-blog with at least a background.png file and all other assets files needed for the blog post.

Configuration of the application

Create a new file in conf/overrides.conf to override some of the configuration:

accessToken = your-secret-token
github_organisation = lunatech-labs
github_repository = lunatech-blog
github_branch = master
# The main background image
background = "https://lunatech.cdn.prismic.io/lunatech/c01fd6de48c3cdb8bda7247b0b94b84b14f3a488_kevin-horvat-1354011-unsplash.jpg"

You can modify the template in the app/views/ directory.

Starting the application

sbt run and go in your browser to http:localhost:9000

How to deploy a new version

Merging your PR will update the main branch only. You'll need to deploy it first in Acceptance, and then in Production.

You can do both with the help of GitHub Actions:

About

The blog engine that powers blog.lunatech.com

Resources

Stars

Watchers

Forks

Languages

  • SCSS 39.1%
  • HTML 33.4%
  • Scala 26.3%
  • JavaScript 1.2%