Skip to content

dsih-artpark/cif-digitisation-platform

Repository files navigation

CIF Digitisation Platform

Project Structure

.
|-- backend/
|-- frontend/
|-- dist/
|-- scripts/
|-- validation/
|-- example.env
|-- README.md

Run Locally

From the project root:

uv sync --directory backend
cd frontend
npm install
cd ..

Start the frontend in one terminal:

cd frontend
npm run dev

Start the backend in another terminal:

uv run python -m backend.main

Build the frontend when needed:

cd frontend
npm run build

Run the app from the backend only:

cd frontend
npm run build
cd ..
uv run python -m backend.main

Pull From GitHub And Restart On Server

cd ~/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-pager

Manual server start:

uv run --directory backend python -m uvicorn app:app --host 0.0.0.0 --port 8787 --access-log

About

Digitise CIF docs generated at PHCs in Tribal regions of Gadchiroli.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors