My personal blog. Forked from Gatsby Blog Starter template and inspired here and there by Dan Abramov's blog.
Content can be found under
src/pages. Edit posts as needed and submit a PR
for me to review. All PRs are automaticallly deployed by Now to staging area.
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!
1. Build Locally with Yarn
To run the build locally, type like so:
yarn yarn dev
2. Build Locally with Now
Alternatively, you can mimic the production environment from Now like so:
npm install -g now now dev
This will download and execute a Now builder running the
gatsby develop command. Be warned that this is a new feature with Now and might not work as expected. In case you encounter any problems, revert to option #1.
Finally, open http://localhost:8000 to view the blog.
Project is packaged with ESLint code style tests, Cypress automated tests, and Pa11y accessibility tests. They can be ran respectively like so:
yarn lint yarn test:dev yarn test:a11y
All of the above are also run in Travis CI pipelines for commits and PRs.
To quickly bootstrap a new post or page draft use the CLI tool
at project root either via
yarn new or invoking directly.