No description
Find a file
Daisuke 45af6a5354 chore(nix): remove repo devShell setup
- Delete flake.nix and flake.lock
- Remove Nix devshell section from README
- Drop Nix ignores from .gitignore
2026-02-01 09:50:10 +09:00
.github feat(skill): add commit-message-generator skill 2026-01-18 20:12:31 +09:00
.vscode
public
src Add book review: AI Engineering by Chip Huyen 2026-01-25 20:29:00 +09:00
.gitignore chore(nix): remove repo devShell setup 2026-02-01 09:50:10 +09:00
astro.config.mjs feat(dev): add Podman-based container workflow 2026-01-31 19:54:28 +09:00
buildspec.yml
compose.yml feat(dev): add Podman-based container workflow 2026-01-31 19:54:28 +09:00
Containerfile feat(dev): add Podman-based container workflow 2026-01-31 19:54:28 +09:00
eslint.config.js chore: add unified ESLint config for TS, Astro, and JSX 2025-12-31 21:01:21 +09:00
package-lock.json chore: update Astro/Preact deps and add TS/ESLint tooling 2025-12-31 20:58:07 +09:00
package.json chore: update Astro/Preact deps and add TS/ESLint tooling 2025-12-31 20:58:07 +09:00
README.md chore(nix): remove repo devShell setup 2026-02-01 09:50:10 +09:00
tsconfig.json chore: update Astro/Preact deps and add TS/ESLint tooling 2025-12-31 20:58:07 +09:00

Naputo - n-daisuke897's blog

Welcome to my blog repository!

Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

Podman (container) development

This repo can be developed inside a Podman container to keep your host clean and improve reproducibility.

Using podman compose

podman compose up --build

On WSL2/rootless Podman, if you hit netavark/nftables errors, this repo defaults to slirp4netns via network_mode in compose.yml.

Then open: http://localhost:4321

Run other commands in the running container:

podman compose exec app npm run build
podman compose exec app npm run preview -- --host 0.0.0.0 --port 4321

Troubleshooting (WSL2)

If hot reload is unstable/slow, enable polling:

CHOKIDAR_USEPOLLING=1 podman compose up --build

Tip: placing the repo under the WSL filesystem (e.g. ~/project/...) is often faster than under /mnt/c.