Smirl / furniture-replications

Furniture Replications website made with Hugo

Home Page:https://furniturereplications.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Furniture Replications

Build Status

This is a port of the wordpress theme to hugo for furniturereplications.com

Slider

The sliders on the home page were jquery scrollable but I was having issues. I have moved them to lightSlider.

Featured

To add a featured image to the home page, create a feature.jpg in a product content bundle. For example in content/products/tables/rise-and-fall/feature.jpg. To add the link text, add metadata to the page resource is the front matter of the product content bundle. For example in content/products/tables/rise-and-fall/index.md:

---
title: "Rise and Fall Table"
resources:
- title: "Unique Tables"
  src: "feature.jpg"
---
...

Deployment

Deployment is to a kubernetes cluster. A few steps need to be done including secret and service account set up. There are also manual deployment steps for reference.

The helm chart used is a generic-app chart.

Service Account

A service account is required to allow github-actions access. This is created with:

kubectl apply -f deploy/serviceaccount.yaml

Github Actions

The prod environment needs to be set up with two secrets:

  • K8S_URL - url of kubernetes api server
  • K8s_SECRET - yaml content of the service account secret

Secrets

The following secrets need to be in the deployment namespace.

kubectl create secret generic amplify --from-literal=api_key=XXXXXXXX

About

Furniture Replications website made with Hugo

https://furniturereplications.com/


Languages

Language:JavaScript 59.7%Language:CSS 26.8%Language:HTML 12.9%Language:Dockerfile 0.5%