.
|-- backend/
|-- frontend/
|-- dist/
|-- scripts/
|-- validation/
|-- example.env
|-- README.md
From the project root:
uv sync --directory backend
cd frontend
npm install
cd ..Start the frontend in one terminal:
cd frontend
npm run devStart the backend in another terminal:
uv run python -m backend.mainBuild the frontend when needed:
cd frontend
npm run buildRun the app from the backend only:
cd frontend
npm run build
cd ..
uv run python -m backend.maincd ~/cif-digitisation-platform
git pull origin main
uv sync --directory backend
cd frontend
npm ci
npm run build
cd ..
sudo systemctl restart cif-app
sudo systemctl status cif-app --no-pagerManual server start:
uv run --directory backend python -m uvicorn app:app --host 0.0.0.0 --port 8787 --access-log