Files
linkweb/README.md
T
2026-05-15 00:15:40 +01:00

39 lines
591 B
Markdown

# Toothless' Bot Home
React + Vite + Tailwind link home running on port `3020`.
## Local
```sh
npm install
npm run build
npm run serve
```
Open `http://localhost:3020`.
## PM2
```sh
npm run build
pm2 start ecosystem.config.cjs
```
The app name is `linkweb`. The GitHub webhook receiver is:
```text
POST /webhook/github
```
Set `WEBHOOK_SECRET` in `ecosystem.config.cjs` if you want GitHub `x-hub-signature-256` verification:
```js
env: {
NODE_ENV: 'production',
PORT: '3020',
PM2_APP_NAME: 'linkweb',
WEBHOOK_PATH: '/webhook/github',
WEBHOOK_SECRET: 'your-secret',
}
```