eyalroth / blog-gatsby

Eyal Roth's blog
https://eyalroth.com
MIT License
0 stars 0 forks source link
blog gatsby javascript netlify react

Eyal Roth

Eyal Roth's blog

This is the repository for my blog at eyalroth.com, containing both the code and content of the website.

It is built with GatsbyJS, based on the starter site Lumen 2, and hosted on Netlify.

Maintainability GitHub license CC license

Features

Structure

Layout

Posts

Technical

Easter eggs

Known issues

Comments

Profile image

Unicode

Featured post image

Build

Local development

The site is built with Gatsby which provides both a local development server (gatsby develop) and local serving capabilities (gatsby build && gatsby serve).

It should be possible to develop on any OS; I myself have been developing this site using WSL on Windows 10.

Deployment

The site is not only hosted on Netlify, but is also built and deployed via Netlify's CI / CD, which is connected directly to this repository and uses Gatsby's tools to build the site.

Environment variables

The site uses several environment variables during its build process:

Note the .env.development file which sets these variables for development mode (gatsby develop). There is no such file for "production" mode (gatsby build) and they have to be set manually (via export).

Also note the netlify.toml file which configures some of these variables on Netlify CI (URL is automatically set by Netlify).

Compatibility

The site is compatible with all modern browsers. It is not compatible with Internet Explorer (the site will not load and instead will display a message saying just that).

Testing

There are no automatic tests for the site.

It was manually tested by me and mostly on:

It was also partially tested on:

It was not tested on any Apple product (Mac / iPad / iPhone) as I do not own any of these.

Link structure

Language prefixes are either en (English) or he (Hebrew).

Home

Blog

Other

Inspiration

The design and structure of this site draw much inspiration from many other sites out there, so here's a shout-out to them:

License

The content of this project itself is licensed under the Creative Commons Attribution 4.0 International license, and the underlying source code used to format and display that content is licensed under the MIT license.