/pe2blog

Primary LanguageJavaScriptMIT LicenseMIT

This repo powers the Gatsby site janosh.io. I use it to write about personal interests. Mostly theoretical physics, machine learning, sustainability and web development.

The site is fully responsive, has fluid typography, relies heavily on React Hooks for stateful components and CSS grid for layout. It uses the following libraries:

Feel free to reuse the whole or any part of this repo to create your own Gatsby site.

Installation

To get this site running locally, you need installed git, gatsby-cli and yarn (or npm). Then follow these steps:

  1. Clone the repo to your machine and change into its directory.

    git clone https://github.com/janosh/janosh.io && cd janosh.io
  2. Install dependencies.

    yarn
  3. Start the dev server.

    gatsby develop

Deployment

The easiest way to get this site published is as follows:

  1. Create an account with netlify.

  2. Install the netlify-cli.

  3. Login to your account.

    netlify login
  4. Connect your GitHub repo with your netlify account for continuous deployment.

    netlify init
  5. Finally deploy the site with

    netlify deploy