Skip to content

Latest commit

ย 

History

History
68 lines (54 loc) ยท 1.17 KB

File metadata and controls

68 lines (54 loc) ยท 1.17 KB

๐Ÿ™ GitHub์„ ํ†ตํ•œ ๋กœ์ปฌ ์‹คํ–‰ ๊ฐ€์ด๋“œ

1๏ธโƒฃ EC2์—์„œ GitHub์— ์—…๋กœ๋“œ

# ํ”„๋กœ์ ํŠธ ๋””๋ ‰ํ† ๋ฆฌ์—์„œ
cd /home/ec2-user/projects/ABP/economic_news_system

# Git ์ดˆ๊ธฐํ™” (์•„์ง ์•ˆํ–ˆ๋‹ค๋ฉด)
git init
git add .
git commit -m "Add Intelligence Dashboard"

# GitHub ๋ฆฌํฌ์ง€ํ† ๋ฆฌ ์ƒ์„ฑ ํ›„
git remote add origin https://github.com/your-username/economic-news-system.git
git push -u origin main

2๏ธโƒฃ ๋กœ์ปฌ ์ปดํ“จํ„ฐ์—์„œ ํด๋ก  ๋ฐ ์‹คํ–‰

# ๋กœ์ปฌ ์ปดํ“จํ„ฐ์—์„œ
git clone https://github.com/your-username/economic-news-system.git
cd economic-news-system

# Python ๊ฐ€์ƒํ™˜๊ฒฝ ์ƒ์„ฑ
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate

# ์˜์กด์„ฑ ์„ค์น˜
pip install -r requirements.txt

# API ํ‚ค ์„ค์ •
export ALPHA_VANTAGE_API_KEY=9TLAUWS4L3099YK3

# Streamlit ์‹คํ–‰
streamlit run streamlit_intelligence_dashboard.py

3๏ธโƒฃ ํ•„์š”ํ•œ ํŒŒ์ผ๋“ค

requirements.txt

streamlit
plotly
pandas
requests
aiohttp
yfinance
feedparser
numpy
textblob

.env ํŒŒ์ผ (์„ ํƒ์‚ฌํ•ญ)

ALPHA_VANTAGE_API_KEY=9TLAUWS4L3099YK3

.gitignore

__pycache__/
*.pyc
.env
logs/
output/
venv/