My personal blog. Forked from Gatsby Blog Starter template and inspired here and there by Dan Abramov's blog.
1. Build Locally with Task
To run the build locally, type like so:
task dev
Alternatively, you can mimic the production environment from Netlify like so:
npm install -g netlify-cli
ntl dev
This will download and execute a Netlify builder running the gatsby develop
command.
Finally, open http://localhost:8000 to view the blog.
Project is packaged with Prettier formatter, Vitest unit tests, and Playwright automated tests. They can be ran respectively like so:
task test
Niko Heikkilä <yo@nikoheikkila.fi>
- Github: @nikoheikkila
- Mastodon: @nikoheikkila
- DEV: nikoheikkila
- LinkedIn: nikoheikkila
Content can be found under content/
directory. Edit posts as needed and submit a PR for me to review. All PRs are automatically deployed by Netlify as preview deployments. Once approved and merged to master branch they will be deployed to production.
Other contributions to UI, accessibility, React components, security, dependency updates etc. are warmly welcome as well!
Feel free to check the open issues.
To quickly bootstrap a new post or page draft use the CLI tool new.js
at project root either via yarn new
or invoking directly.
Copyright of blog posts © 2022 Niko Heikkilä <yo@nikoheikkila.fi>.
Source code of this project is MIT licensed.
This README was generated with ❤️ by readme-md-generator.