Main website Mk. II
Go to file
Leni Aniva aa68aa8833
test: Setup playwright testing
2024-09-28 15:18:09 -07:00
src test: Setup playwright testing 2024-09-28 15:18:09 -07:00
static feat: Initial site stub 2024-09-11 00:51:05 -07:00
tests test: Setup playwright testing 2024-09-28 15:18:09 -07:00
.gitignore feat: Initial site stub 2024-09-11 00:51:05 -07:00
README.md test: Setup playwright testing 2024-09-28 15:18:09 -07:00
components.json feat: Add shadcn based navbar 2024-09-11 07:54:39 -07:00
eslint.config.js feat: Initial site stub 2024-09-11 00:51:05 -07:00
flake.lock build: Add Nix flake 2024-09-11 22:09:13 -07:00
flake.nix test: Setup playwright testing 2024-09-28 15:18:09 -07:00
package-lock.json test: Setup playwright testing 2024-09-28 15:18:09 -07:00
package.json test: Setup playwright testing 2024-09-28 15:18:09 -07:00
playwright.config.ts feat: Initial site stub 2024-09-11 00:51:05 -07:00
postcss.config.js feat: Add shadcn based navbar 2024-09-11 07:54:39 -07:00
svelte.config.js fix: 404 on refresh bug 2024-09-26 23:02:46 -07:00
tailwind.config.ts feat: Refactor out header, blockquote remark 2024-09-17 11:40:19 -05:00
tsconfig.json feat: Blog catalog 2024-09-13 23:20:07 -07:00
vite.config.ts feat: Initial site stub 2024-09-11 00:51:05 -07:00

README.md

Chrysoblog

A blog framework

Building

To create the production version,

npm run build

You can preview the production build with npm run preview.

Content

To insert custom content, create a directory with a similar structure to src/content, and set the environment variable CHRYSOBLOG_CONTENT to that directory. The website will be built statically in build/. Note that changing favicon.svg will require modifying the static/ folder.

Developing

Install dependencies with npm install (or pnpm install or yarn). Then start the dev server with

npm run dev [-- --open]

Testing

To run tests

npx playwright test

All tests must have the suffix .spec.[jt]s. Be cautious while updating playwright since the versions in nixpkgs and node must exactly match.