This commit enhances the project documentation by updating the `.cursorrules` file to reflect the transition to a modern web-based photo management application. It includes detailed sections on the development environment, specifying the PostgreSQL server and development server configurations. Additionally, the README.md is updated to include development database information and environment setup instructions, ensuring clarity for new developers and contributors. These changes improve the overall documentation and support for the project's new architecture.
26 lines
1.4 KiB
JSON
26 lines
1.4 KiB
JSON
{
|
|
"name": "punimtag-monorepo",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "PunimTag monorepo - Photo management with facial recognition",
|
|
"scripts": {
|
|
"install:all": "npm install --prefix admin-frontend && npm install --prefix viewer-frontend",
|
|
"dev:admin": "npm run dev --prefix admin-frontend",
|
|
"dev:viewer": "npm run dev --prefix viewer-frontend",
|
|
"dev:backend": "source venv/bin/activate && export PYTHONPATH=$(pwd) && uvicorn backend.app:app --host 127.0.0.1 --port 8000",
|
|
"build:admin": "npm run build --prefix admin-frontend",
|
|
"build:viewer": "npm run build --prefix viewer-frontend",
|
|
"build:all": "npm run build:admin && npm run build:viewer",
|
|
"lint:admin": "npm run lint --prefix admin-frontend",
|
|
"lint:viewer": "npm run lint --prefix viewer-frontend",
|
|
"lint:all": "npm run lint:admin && npm run lint:viewer",
|
|
"deploy:dev": "npm run build:all && echo '✅ Build complete. Ready for deployment to dev server (10.0.10.121)'",
|
|
"deploy:dev:prepare": "npm run build:all && mkdir -p deploy/package && cp -r backend deploy/package/ && cp -r admin-frontend/dist deploy/package/admin-frontend-dist && cp -r viewer-frontend/.next deploy/package/viewer-frontend-next && cp requirements.txt deploy/package/ && cp .env.example deploy/package/ && echo '✅ Deployment package prepared in deploy/package/'"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"npm": ">=9.0.0"
|
|
}
|
|
}
|
|
|