- Giải nén thư mục tool trên VPS - Ubuntu >20.04
cdvào thư mục tool- Chạy
sudo bash install.sh - Cài MongoDB -
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ - Cài settings trong file
.env - Sau khi cài xong chạy
sudo bash init_api.sh && sudo bash init_worker.shđể start tool - Bắt đầu upload
/api/private/drive/{action}/{file_id}
create: tạo fileget: get thông tin fileretry: retry nếu file lỗidelete: xoá file
/api/private/stat/{action}
videos: số video đã xong, đang xử lí, đã hoàn thànhdone: list video đã hoàn thành (max 100 vid mới nhất)errors: toàn bộ video lỗiprocessing: toàn bộ video đang xử lí