๐ 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๏ธโฃ ํ์ํ ํ์ผ๋ค
streamlit
plotly
pandas
requests
aiohttp
yfinance
feedparser
numpy
textblob
.env ํ์ผ (์ ํ์ฌํญ)
ALPHA_VANTAGE_API_KEY=9TLAUWS4L3099YK3
__pycache__/
*.pyc
.env
logs/
output/
venv/