mirror of
https://gitea.jeffemmett.com/jeffemmett/commons-hub-website.git
synced 2026-06-25 07:51:06 +02:00
Self-hosted Next.js mirror of commons-hub.at
- TypeScript 87.7%
- Python 4.1%
- PLpgSQL 2.8%
- CSS 2.5%
- JavaScript 2.5%
- Other 0.4%
artizenProjectUrl({ toCheckout: true }) appends Artizen's own recognized
?scroll=fund-drive-checkout anchor so the /support CTA lands visitors on the
primed checkout widget instead of the top of the project page. Degrades to a
normal page load if Artizen drops the anchor. No amount-prefill param exists
(checkout amount is set client-side), so this primes but cannot pre-fill.
Also corrected the stale Hasura/GraphQL header comment (Artizen is a Bubble.io
app; stats are client-rendered).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .windsurf/rules | ||
| app | ||
| components | ||
| content/snapshot | ||
| data | ||
| docs | ||
| i18n | ||
| lib | ||
| messages | ||
| migrations | ||
| public | ||
| scripts | ||
| .dockerignore | ||
| .gitignore | ||
| components.json | ||
| docker-compose.yml | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| middleware.ts | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
Commons Hub Website
The website for the Commons Hub — a community guesthouse and event venue in the Austrian Alps. Built with Next.js (App Router) and next-intl (multilingual: EN/DE/HU/CS/SK).
Development
npm install
npm run dev # http://localhost:3000
npm run build # production build
Repositories
- Primary: Gitea —
ssh://git@gitea.jeffemmett.com:223/jeffemmett/commons-hub-website.git - Mirror: GitHub (public, downstream backup)
Work on dev; deploy from main.
Deployment (auto)
Production runs on Netcup (/opt/apps/commons-hub-app, container
commons-hub-web, behind Traefik + Cloudflare). Deploys are automatic on push
to main:
push origin main → Gitea webhook → deploy.jeffemmett.com/deploy/commons-hub-website
→ git reset --hard origin/main → docker compose up -d --build
The server dir is a Gitea checkout pinned to main; server-only files (.env,
docker-compose.yml) are untracked and preserved across deploys. Pushing dev
does not deploy. See docs/artizen-integration.md for the campaign
integration notes.