Files
williammarch.xyz/README.md
2026-04-02 19:13:46 +01:00

37 lines
898 B
Markdown

# William March — Personal Site
Built with Next.js 14 · TypeScript · Tailwind CSS
Dark, monochrome glassmorphism design with live Gitea integration.
## Setup
```bash
# 1. Install dependencies
npm install
# 2. Configure your Gitea instance
cp .env.example .env.local
# Edit .env.local with your Gitea URL and username
# 3. (Optional) Enable CORS on your Gitea instance
# In your app.ini under [cors]:
# ENABLED = true
# ALLOW_ORIGIN = https://williammarch.xyz
# 4. Run locally
npm run dev
# 5. Build for production
npm run build && npm start
```
## Customise
All site content is in `lib/config.ts` — name, bio, skills, email, Gitea URL.
## Deployment
- **Self-hosted**: `npm run build && npm start` (Node.js server, port 3000)
- **Vercel**: Push to GitHub/Gitea, connect in Vercel, add env vars in dashboard
- **Docker**: `next build` → standalone output in `.next/standalone/`