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

fuzzylabs/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is the Fuzzy Labs website. We use Hugo to generate static HTML and CircleCI to build and deploy the content to Firebase Hosting

Usage

First install Hugo. Check that Hugo is installed correctly with hugo version which should output something like Hugo Static Site Generator v0.56.3 linux/amd64 <etc...>.

Local Hugo test server

cd hugo
hugo server

Build

Generate static content with Hugo

hugo --config="hugo/config.toml" -s hugo -d $PWD/public

Clean

rm -rf public

Editing content

Creating a new page

Content lives in the content directory. Create a new Markdown file for your content and include the following front matter:

---
title: ...
description: ...
draft: false
---

Deployment

Commits to master will automatically be deployed to Firebase hosting by CircleCI

Testing Firebase locally

This serves from public so make sure that you've generated the static content via Hugo first.

firebase serve

Manually deploying to Firebase

firebase login
firebase deploy

Deploying to an alternative (dev) firebase project

firebase deploy --project=fuzzylabs-dev

Deploys to: https://fuzzylabs-dev.web.app