Skip to content
This repository has been archived by the owner. It is now read-only.
Old source code of personal site
JavaScript TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
components
pages
public
scripts
services
static
.babelrc
.gitignore
README.md
next-env.d.ts
next-seo.config.js
next.config.js
now.json
package.json
tsconfig.json
yarn.lock

README.md

Personal Site

Deployment

Build setup

The following environment variables need to be set before building either in the .env file or in the the build tool. The .env must be present regardless even if it is empty.

Variable Description Now Secret
GA_ANALYTICS The Tracking ID from Google Analytics ga-analytics
PROJECT_ID The Project ID from Sanity project-id
DATASET The Dataset from the Sanity project dataset

This project is configured to be deployed with the Now service.

Notes

The production build will not run locally using the command yarn start because of the assetPrefix property in next.config.js. To run the production build locally, remove the assetPrefix property in next.config.js.

You can’t perform that action at this time.