Skip to content
Source code for https://pathof.dev
TypeScript JavaScript CSS
Branch: master
Clone or download
Latest commit 42f61c3 Aug 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src modify new post URL Aug 13, 2019
static/images optimized files Jul 25, 2019
.babelrc new layout + react-tag-input Aug 12, 2019
.env.development fix disqus shortname Jul 18, 2019
.env.production
.gitignore add env files + github url Jul 18, 2019
.graphqlconfig first build Jul 18, 2019
.prettierrc first build Jul 18, 2019
README.md Update README.md Jul 20, 2019
gatsby-browser.js fix react-tag-input styles Aug 12, 2019
gatsby-config.js remove trailing slashes Aug 12, 2019
gatsby-node.js new post - how long to learn react Aug 3, 2019
package.json remove trailing slashes Aug 12, 2019
schema.graphql new post - how long to learn react Aug 3, 2019
tsconfig.json first build Jul 18, 2019
tslint.json new post + tweaks Jul 31, 2019
yarn.lock remove trailing slashes Aug 12, 2019

README.md

Welcome

This repo contains the source code for my blog https://pathof.dev

Built with

The project makes use of https://www.gatsbyjs.org as a static site generator and https://prismic.io as a headless CMS. When used together, a static blog site like this can be created. It can also be hosted on static hosting like https://www.netlify.com

How can I use this source to create my own blog?

Prerequisites

Process

  1. Clone this repo to your PC or fork it if you like
  2. Go to repo folder on your PC and install dependencies with npm install or yarn
  3. Create a file in the root folder called .env.private

Inside the .env.private file, add the following and replace the dots with your information

PRISMIC_REPOSITORY_NAME=...
PRISMIC_API_KEY=...
GOOGLE_ANALYTICS_PROPERTY_ID=...

Use the following shell commands as needed

npm run develop # run in development, visit http://localhost:8000
npm run build # generate production build
npm run serve # serve production build

Hosting your static site

You can use any static site hosting you like. Simple options are to upload the files to an S3 bucket or use a service like https://www.netlify.com

You can’t perform that action at this time.