blogging, and stuff.
Live version, running gatsby
branch.
Must have gatsby-cli
installed to run the package scripts
npm install -g gatsby-cl
(or use npx
)
npm install
from root
npm run develop
to start a dev server.
The actual blog posts are in a different repo (referenced as a submodule in the content
directory).
If trying to implement push notifications, the relevant files are:
/src/components/PushNotification.js
- React component appendScript
option in gatsby-plugin-offline
src/notification-sw.js
- service workerfunctions/push-notification.js
- serverless function (aws lambda etc)functions/push-subscription.js
- serverless function