SettingsDatabaseEmptyStateLocal.tsx54 lines · main
| 1 | import { Card, CardContent, CardHeader, CardTitle } from 'ui' |
| 2 | |
| 3 | import { DocsButton } from '@/components/ui/DocsButton' |
| 4 | import { DOCS_URL } from '@/lib/constants' |
| 5 | |
| 6 | export function SettingsDatabaseEmptyStateLocal() { |
| 7 | return ( |
| 8 | <> |
| 9 | <Card> |
| 10 | <CardHeader> |
| 11 | <CardTitle>Local development & CLI</CardTitle> |
| 12 | </CardHeader> |
| 13 | <CardContent> |
| 14 | <p className="text-sm text-foreground-light mb-4"> |
| 15 | Configure database settings in{' '} |
| 16 | <code className="text-code-inline">briven/config.toml</code> — applied automatically |
| 17 | on <code className="text-code-inline">briven start</code>. |
| 18 | </p> |
| 19 | <DocsButton href={`${DOCS_URL}/guides/local-development/cli/config#database-config`} /> |
| 20 | </CardContent> |
| 21 | </Card> |
| 22 | |
| 23 | <Card> |
| 24 | <CardHeader> |
| 25 | <CardTitle>Self-Hosted Briven</CardTitle> |
| 26 | </CardHeader> |
| 27 | <CardContent> |
| 28 | <p className="text-sm text-foreground-light mb-4"> |
| 29 | Change settings in{' '} |
| 30 | <a |
| 31 | target="_blank" |
| 32 | rel="noopener noreferrer" |
| 33 | href="https://github.com/briven/briven/blob/master/docker/.env.example" |
| 34 | > |
| 35 | .env file |
| 36 | </a>{' '} |
| 37 | and{' '} |
| 38 | <a |
| 39 | target="_blank" |
| 40 | rel="noopener noreferrer" |
| 41 | href="https://github.com/briven/briven/blob/master/docker/docker-compose.yml" |
| 42 | > |
| 43 | docker-compose.yml |
| 44 | </a> |
| 45 | . |
| 46 | </p> |
| 47 | <DocsButton |
| 48 | href={`${DOCS_URL}/guides/self-hosting/docker#configuring-and-securing-briven`} |
| 49 | /> |
| 50 | </CardContent> |
| 51 | </Card> |
| 52 | </> |
| 53 | ) |
| 54 | } |