-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeepgram.toml
More file actions
51 lines (41 loc) · 1.73 KB
/
deepgram.toml
File metadata and controls
51 lines (41 loc) · 1.73 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
51
[meta]
title = "C++ Text Intelligence Starter"
description = "Get started using Deepgram's Text Intelligence with this C++ demo app"
author = "Deepgram DX Team <devrel@deepgram.com> (https://developers.deepgram.com)"
repository = "https://github.com/deepgram-starters/cpp-text-intelligence"
useCase = "text-intelligence"
language = "C++"
framework = "Crow"
sdk = "N/A"
tags = ["text-intelligence", "text-analysis", "nlp", "natural-language-processing", "cpp", "crow"]
[install.pre]
command = "git submodule update --init --recursive"
message = "Submodules initialized"
[install]
command = ["cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake && cmake --build build", "cd frontend && corepack pnpm install"]
message = "Dependencies installed"
[install.config]
sample = "sample.env"
output = ".env"
[check]
command = ["command -v git", "command -v cmake", "command -v pnpm"]
message = "Prerequisites checked"
[start.pre]
command = ["test -f .env || echo 'Error: .env file not found'", "test -d frontend/.git || echo 'Error: Frontend submodule not initialized'"]
message = "Pre-flight checks complete"
[start]
command = ["./build/cpp-text-intelligence", "cd frontend && corepack 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 build", "rm -rf vcpkg_installed", "rm -rf frontend/node_modules", "rm -rf frontend/dist"]
message = "Build artifacts cleaned"
[test]
command = "cd contracts && ./tests/run-text-intelligence-app.sh"
message = "Tests complete"
[eject-frontend]
command = "make eject-frontend"
message = "Frontend ejected successfully"