First concept
This commit is contained in:
36
README.md
Normal file
36
README.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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/`
|
||||
Reference in New Issue
Block a user