12 lines
390 B
Markdown
12 lines
390 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 &
|
|
|
|
ps aux | grep uvicorn
|
|
|
|
truncate -s 0 log.log
|