Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

commonknowledge/website-2019

Repository files navigation

Public website for Common Knowledge Co-operative.

Key tech

The deployed website is a static site generated by Gatsby, styled with Rebass and styled-components for explicit CSS, and written in React + TypeScript. Relies on Node for development, preferably installed via Node Version Manager (nvm).

Development

  • Initial install: yarn to dl/build package dependencies (prefer node@^11)
  • Dev deploy: yarn develop to deploy locally with hot-reload on edit, exposed to http://localhost:8000/.
  • Prod deploy: Commit to master branch and push to GitHub to auto-deploy a new production version to https://commonknowledge.coop

If you encounter a sharp error

Delete node_modules/sharp, then run yarn add sharp and it should fix itself.

Infrastructure