phucbv / README.md
bienvanphuc
update
3b85cff
|
Raw History Blame Contribute Delete
585 Bytes
---
title: My Blog FastAPI
emoji: 🚀
colorFrom: indigo
colorTo: pink
sdk: docker
app_file: app/main.py
pinned: false
---
# Blog cá nhân FastAPI
## Hướng dẫn cài đặt & chạy
1. Cài Python >=3.8
2. Cài các package cần thiết:
```bash
pip install -r requirements.txt
```
3. Chạy ứng dụng:
```bash
uvicorn app.main:app --reload
```
4. Truy cập: http://127.0.0.1:8000
- Đăng nhập quản trị: http://127.0.0.1:8000/admin/login
- Đổi mật khẩu admin hoặc mật mã 4 số trong file app/main.py khi triển khai thật.