This project hosts this very site that you’re reading on. The predecessor was a Next.js app (the old repo). Today, it is built on top of sitepress. For a full overview, checkout this post.
Github README:
Hello World
This is my little corner of the internet. This is a repo hosting one of the best blogs in the world (not biased): www.stevenwhat.me
There’s a few things you’ll need to know to get around:
Running locally
This website is built with Sitepress, Tailwind, Stimulus which requires running multiple processes in development overmind.
To begin, install dependencies:
$ bundle $ yarn
Then kickoff the processes with overmind.
$ overmind start -f Procfile.dev --port 3030
Run bundle exec rdbg -a
in a separate terminal for debugging
File locations
The files in sitepress is organized as follows:
pages
- Where all content files live.erb
andmd
files are rendered and served.layouts
- Code for page layouts.partials
- Reusableerb
code.helpers
- Like Rails helpers.assets
- Files here will be included in Sprockets asset pipeline, finger-printed, and served.config
- Configurations and initializers.
Deployment
- Push to main will be precompiled and deployed by Vercel