|
|
||
|---|---|---|
| .. | ||
| client | ||
| static | ||
| uploads | ||
| .DS_Store | ||
| .gitignore | ||
| CLAUDE.md | ||
| README.md | ||
| api.py | ||
| camera.py | ||
| database.py | ||
| main.py | ||
| models.py | ||
| package-lock.json | ||
| requirements.txt | ||
| student_encodings.sql | ||
| students.sql | ||
| sync.py | ||
README.md
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 8080 > log.log 2>&1 &