- Install the
bun
package manager: https://bun.sh/ - Run
bun i
in the project directory - Run
bun run dev
to start a local developer server
DEFAULT_LOCATION_GEO
,DEFAULT_LOCATION
,APPLE_TEAM_ID
,APPLE_PRIV_KEY_BASE64
,APPLE_KEY_ID
: required for map snapshot generation on the home pagePUBLIC_URL
: for setting the base URL of the site when deployed
bun <command>
:lint
: automatically lints filesdev
: start a local instance with live reloadingbuild-rss
: generate an RSS feedbuild
: generate an RSS feed and production siteanalyze
: generate a bundle you can inspect via @next/bundle-analyzerstart
: start a production instance built viayarn build
components/
: react componentsservices/
: services that fetch data for the siteapp/
: next.js pages (the actual routes that are rendered)projects/
: markdown files rendered at build timepublic/
: images for blog, favicon, built filesscripts/
: contain the scripts for building the sitemap and RSS feed