Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
BlueGreenSWM
Filient_Server_2
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
Filient_Server_2
/
start-local.sh
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
executable file
·
61 lines (47 loc) · 1.49 KB
main
Breadcrumbs
Filient_Server_2
/
start-local.sh
Copy path
Top
File metadata and controls
Code
Blame
executable file
·
61 lines (47 loc) · 1.49 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
echo "🚀 Filient 로컬 개발 환경 시작"
# .env.local 파일 확인
if [ ! -f .env.local ]; then
echo "❌ .env.local 파일이 없습니다!"
exit 1
fi
# .env.local을 .env로 복사 (애플리케이션이 읽을 수 있도록)
cp .env.local .env
echo "✅ 환경 설정 로드 완료"
# Python 가상환경 확인 및 활성화
if [ ! -d "venv" ]; then
echo "📦 Python 가상환경 생성 중..."
python3 -m venv venv
fi
# 가상환경 활성화
source venv/bin/activate
# 의존성 설치
echo "📦 Python 패키지 설치 중..."
pip install -q --upgrade pip
pip install -q -r requirements.txt
# ChromaDB 벡터 데이터베이스 초기화
echo "📊 ChromaDB 벡터 데이터베이스 초기화 중..."
if [ ! -d "chroma_db" ]; then
python init_chromadb.py
else
echo "✅ ChromaDB가 이미 초기화되어 있습니다."
fi
echo "
========================================
✅ 모든 준비가 완료되었습니다!
🚀 FastAPI 서버 시작:
python main_simple.py
또는
uvicorn main_simple:app --reload --host 0.0.0.0 --port 8000
📖 API 문서:
http://localhost:8000/docs
💡 테스트 요청 예시:
curl -X POST http://localhost:8000/chat \\
-H \"X-API-Key: 550e8400-e29b-41d4-a716-446655440000\" \\
-H \"Content-Type: application/json\" \\
-d '{\"message\": \"PDF 파일들을 문서 폴더로 이동해줘\"}'
========================================
"
# FastAPI 서버 시작
echo "🚀 FastAPI 서버 시작 중..."
python main_simple.py
You can’t perform that action at this time.