Run it locally
Solaria is a Next.js app. One install, one dev command, and the site is on localhost.
Install
Clone the repo and install dependencies.
solaria
$ git clone https://github.com/oggyfoxy/solaria.git$ cd solaria$ npm install
Commands
The dev server runs on http://localhost:3000. The build step typechecks and statically generates the site.
solaria
$ npm run dev # next dev, http://localhost:3000$ npm run build # typecheck + production build$ npm run start # serve the production build
Node note: this machine's
nvm shim is flaky in non-interactive shells. If npm is not found, use the Homebrew binary at /opt/homebrew/bin/npm.Project layout
Where things are.
| path | what |
|---|---|
app/ | routes and the global design system (App Router) |
app/page.tsx | the landing |
app/docs/ | these docs |
components/ | shared UI: nav, footer, wordmark, button, sun mark, ticker |
docs/ | source notes: vision, architecture, design |
PROJECT.md | running changelog, newest first |
