ManagementSystem/TrackingToolWebAU/README.md

14 lines
401 B
Markdown

Run client: npm run dev or npm run build && npm run preview
==> Build client xong => coppy file asset và index vào folder static của server => thêm prefix static vào link của assets trong file index VD: /camera/static/assets
Run server uvicorn main:app --reload
nohup uvicorn main:app --host 172.16.6.38 --port 8081 > log.log 2>&1 &
pm2 start
ps aux | grep uvicorn
truncate -s 0 log.log