Skip to content

thegreenhouseio/www.thegreenhouse.io

Repository files navigation

GitHub Actions status Netlify Status GitHub release GitHub issues GitHub issues

Overview

This is a static site for The Greenhouse's website built with Greenwood. Has the usual stuff, e.g. Blog posts, about me, contact form, etc. 🌟 💯

Development

Stuff to do / run. 🏃‍♂️

Setup

After cloning the repo, do the following to get up and running

  1. Install NodeJS (LTS)
  2. Install Yarn (>= 1.x)
  3. Run yarn install
  4. Add 127.0.0.1 local.thegreenhouse.io to your /etc/hosts file (optional)

Tasks

  • yarn develop - Start a local development server with file watching, live reload, etc
  • yarn build - Build the site for production deployment
  • yarn serve - Build the site for production and start a server locally (useful for a local demo)
  • yarn test:tdd - Run tests in watch mode
  • yarn test - Run all tests in a single run (used for CI)

Release Management

The project is hosted by Netlify and is setup to deploy continously on every merge to master in GitHub.

GitHub Actions are used for continuous integration on PRs and Netlify will deploy preview builds for all PRs.