-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.js
More file actions
41 lines (31 loc) Β· 1.46 KB
/
setup.js
File metadata and controls
41 lines (31 loc) Β· 1.46 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
#!/usr/bin/env node
const fs = require('fs');
const path = require('path');
console.log('ποΈ Vacation Media Analyzer Setup');
console.log('================================\n');
// Check if package.json exists
if (!fs.existsSync('package.json')) {
console.error('β package.json not found. Please run this from the project root directory.');
process.exit(1);
}
console.log('π¦ Installing dependencies...');
console.log('Run: npm install\n');
console.log('π API Configuration Required:');
console.log('1. Edit src/services/ApiService.js');
console.log('2. Replace YOUR_GOOGLE_VISION_API_KEY with your Google Vision API key');
console.log('3. Replace YOUR_OPENAI_API_KEY with your OpenAI API key\n');
console.log('π Getting Started:');
console.log('1. npm install');
console.log('2. npm start');
console.log('3. Scan QR code with Expo Go app or press i for iOS simulator\n');
console.log('π± Features:');
console.log('β’ Select up to 50 photos/videos from gallery');
console.log('β’ AI-powered theme detection and clustering');
console.log('β’ Automatic highlight selection');
console.log('β’ Generated captions with hashtags');
console.log('β’ Export and share functionality\n');
console.log('π§ Troubleshooting:');
console.log('β’ Ensure you have Expo CLI installed: npm install -g @expo/cli');
console.log('β’ Check API keys are correctly configured');
console.log('β’ Grant camera roll permissions when prompted\n');
console.log('Happy analyzing! π');