Spaces:
Sleeping
Sleeping
|
Download README.md from phucbienvan/phucbv: direct link, hf CLI and curl.
- Browser
- Download file 585 Bytes
-
https://huggingface.co/spaces/phucbienvan/phucbv/resolve/main/README.md
- Command line
-
hf download hf://spaces/phucbienvan/phucbv/README.md
-
curl -L -o README.md https://huggingface.co/spaces/phucbienvan/phucbv/resolve/main/README.md
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. | |