Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

ilhamwahabi/iwgx.io

Repository files navigation

Profile

My personal website that primarily to host my blog and others such as profile, portfolio, and talks.

Built using:

  • React (with Gatsby) + Typescript for main stack
  • Contentful for content
  • TailwindCSS for styling
  • Gatsby Cloud for build and hosting

Open here https://iwgx.io

Usage

  1. Create .env.development file in root project, then fill it with Contentful environment variables
CONTENTFUL_ACCESS_TOKEN=**************
CONTENTFUL_HOST=**********
CONTENTFUL_SPACE_ID=******
ENABLE_GATSBY_REFRESH_ENDPOINT=true

with ENABLE_GATSBY_REFRESH_ENDPOINT set to true, it's enable us to refresh data without having to restart development server. To refresh the data, just open http://localhost:8000/___graphql and click "Refresh Data" button.

  1. Install dependencies yarn install
  2. Run it yarn start

Deploy

  1. Push any change to github git push
  2. It's already integrated with Gatsby Cloud Hosting so after any push it will be updated