Public website for Common Knowledge Co-operative.
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
).
yarn
to dl/build package dependencies (prefer node@^11
)yarn develop
to deploy locally with hot-reload on edit, exposed to http://localhost:8000/.master
branch and push to GitHub to auto-deploy a new production version to https://commonknowledge.coopsharp
errorDelete node_modules/sharp
, then run yarn add sharp
and it should fix itself.
gatsby build
remotely to generate the production-ready static files. Login to the control panel with hello@commonknowledge.coop (password in the shared LastPass folder)