-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
Β·38 lines (30 loc) Β· 1.04 KB
/
setup.sh
File metadata and controls
executable file
Β·38 lines (30 loc) Β· 1.04 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
#!/bin/bash
echo "π Setting up DocFlow Lite..."
# Install root dependencies
echo "π¦ Installing root dependencies..."
npm install
# Install frontend dependencies
echo "π¨ Installing frontend dependencies..."
cd frontend && npm install
# Install backend dependencies
echo "βοΈ Installing backend dependencies..."
cd ../backend && npm install
# Install docs-generator dependencies
echo "π Installing docs-generator dependencies..."
cd ../docs-generator && npm install
# Install shared dependencies
echo "π Installing shared dependencies..."
cd ../shared && npm install
# Go back to root
cd ..
echo "β
Setup complete!"
echo ""
echo "Next steps:"
echo "1. Copy .env.example to .env and add your API keys"
echo "2. Run 'npm run dev' to start both frontend and backend"
echo "3. Visit http://localhost:3000 to see the application"
echo ""
echo "π Required API Keys:"
echo "- GITHUB_TOKEN: GitHub personal access token"
echo "- OPENAI_API_KEY: OpenAI API key for Q&A assistant"
echo "- MINTLIFY_API_KEY: Mintlify API key for docs generation"