.env.example
595 bytes
| 1 | # From GitHub Settings > Developer settings > GitHub Apps |
|---|---|
| 2 | GITHUB_CLIENT_ID= |
| 3 | GITHUB_CLIENT_SECRET= |
| 4 | GITHUB_APP_SLUG= |
| 5 | |
| 6 | # Use production for a deployed instance. |
| 7 | NODE_ENV=development |
| 8 | |
| 9 | # Generate once and keep stable while using the same database: |
| 10 | # node -e "console.log(require('node:crypto').randomBytes(32).toString('hex'))" |
| 11 | SESSION_SECRET=replace-with-a-stable-random-value |
| 12 | |
| 13 | # Public origin. Keep GitHub App callback and setup URLs on this origin. |
| 14 | BASE_URL=http://localhost:3000 |
| 15 | PORT=3000 |
| 16 | |
| 17 | # SQLite database file. Its parent directory is created automatically. |
| 18 | DATABASE_PATH=data/profileshare.db |
| 19 | |