- Clone the repository with
git clone
- Install dependencies:
bun install
bun dev # start dev server at http://localhost:3000
INCLUDE_DRAFTS=false NEXT_PUBLIC_BASE_PATH='' bun run build
bun run start # serve static out/ on :3000
- Clone the repository with
git clone
- Dev (hot reload):
docker compose up -d --build app
- Prod preview:
docker compose up -d --build preview
- Connect:
docker compose exec app sh
- Disconnect:
exit
- Starting:
docker compose start
- Stopping:
docker compose stop
./
├── .dockerignore
├── .github
├── .gitignore
├── compose.yml
├── Dockerfile
├── README.md
├── README_JA.md
├── app
├── components
├── cypre
├── content
│ ├── blogs
│ └── publications
├── data
│ └── links.yaml
├── lib
├── locales
├── pages
├── public
│ └── images
├── scripts
│ └── generate-sitemap.ts
├── tests
├── types
├── package.json
├── tailwind.config.ts
└── tsconfig.json
- i18n: ja/en routes for Home/Links/Publications/Blog index.
- Feeds/SEO:
/sitemap.xml
,/robots.txt
,/rss.xml
generated at build. - GitHub Pages: CI config in
.github/workflows/deploy.yml
setsSITE_URL
and base path automatically.