-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeepgram.toml
More file actions
50 lines (40 loc) · 1.52 KB
/
deepgram.toml
File metadata and controls
50 lines (40 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[meta]
title = "Bun Flux"
description = "Get started using Deepgram's Flux real-time transcription with this Bun demo app"
author = "Deepgram DX Team <devrel@deepgram.com> (https://developers.deepgram.com)"
repository = "https://github.com/deepgram-starters/bun-flux"
useCase = "flux"
language = "typescript"
framework = "bun"
tags = ["flux", "streaming", "speech-to-text", "real-time", "turn-detection", "bun", "typescript"]
[check]
command = ["git --version", "bun --version"]
message = "All prerequisites installed"
[install.pre]
command = "git submodule update --init --recursive"
message = "Submodules initialized"
[install]
command = ["bun install", "cd frontend && corepack pnpm install"]
message = "Dependencies installed"
[install.post]
command = "test -f .env || cp sample.env .env"
message = "Environment configuration ready"
[start.pre]
command = "test -f .env || (echo '❌ .env not found. Run: cp sample.env .env' && exit 1)"
message = "Environment validated"
[start]
command = ["bun run server.ts", "cd frontend && pnpm run dev -- --port 8080 --no-open"]
parallel = true
message = "Application running on http://localhost:8080"
[update]
command = "git submodule update --remote --merge"
message = "Submodules updated"
[clean]
command = ["rm -rf node_modules", "rm -rf frontend/node_modules", "rm -rf frontend/dist"]
message = "Build artifacts cleaned"
[test]
command = "cd contracts && ./tests/run-flux-app.sh"
message = "Tests complete"
[eject-frontend]
command = "make eject-frontend"
message = "Frontend ejected successfully"