| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import { Card, CardContent, CardHeader, CardTitle } from 'ui'
- import { DocsButton } from '@/components/ui/DocsButton'
- import { DOCS_URL } from '@/lib/constants'
- export function SettingsDatabaseEmptyStateLocal() {
- return (
- <>
- <Card>
- <CardHeader>
- <CardTitle>Local development & CLI</CardTitle>
- </CardHeader>
- <CardContent>
- <p className="text-sm text-foreground-light mb-4">
- Configure database settings in{' '}
- <code className="text-code-inline">briven/config.toml</code> — applied automatically
- on <code className="text-code-inline">briven start</code>.
- </p>
- <DocsButton href={`${DOCS_URL}/guides/local-development/cli/config#database-config`} />
- </CardContent>
- </Card>
- <Card>
- <CardHeader>
- <CardTitle>Self-Hosted Briven</CardTitle>
- </CardHeader>
- <CardContent>
- <p className="text-sm text-foreground-light mb-4">
- Change settings in{' '}
- <a
- target="_blank"
- rel="noopener noreferrer"
- href="https://github.com/briven/briven/blob/master/docker/.env.example"
- >
- .env file
- </a>{' '}
- and{' '}
- <a
- target="_blank"
- rel="noopener noreferrer"
- href="https://github.com/briven/briven/blob/master/docker/docker-compose.yml"
- >
- docker-compose.yml
- </a>
- .
- </p>
- <DocsButton
- href={`${DOCS_URL}/guides/self-hosting/docker#configuring-and-securing-briven`}
- />
- </CardContent>
- </Card>
- </>
- )
- }
|