/steinkamp.us

Next.js / Markdoc powered personal site

Primary LanguageTypeScriptApache License 2.0Apache-2.0

This is a Markdoc / Next.js project bootstrapped with create-next-app.

Example Screenshot

Getting Started

First, run the development server:

make devup

Open http://localhost:3000 with your browser to see the result.

Edit files in the pages/ directory. Posts are in Markdoc format in pages/posts/.

Production Mode

Bringing up the service in the project root directory will start it in production mode, which listens on port 3125.

# in the project root directory
make prod

Makefile targets

  • make devup - Start the development mode server and tail the logs
  • make devdown - Stop the development mode server
  • make prod - Build and start/restart the production server then tail the logs. Can be safely interrupted (Ctrl-C) without stopping the server.
  • make zip - Package .zip files for download from /music-tools. Requires a .env.local file to be present with GH_TOKEN=xxxyyzzz defined.

TODOs

Ideas for future enhancements or fixes:

  • Embed for musics-hosted musics to replace bandcamp