Update for project move on server, add ability to update existing POs, add spec lookup page, enhance copy down functionality.
This commit is contained in:
+2
-2
@@ -84,7 +84,7 @@ npm run setup # Create required directories (logs, uploads)
|
||||
- PostgreSQL with connection pooling (pg library)
|
||||
- Pool initialized in `utils/db.js` via `initPool()`
|
||||
- Pool attached to `app.locals.pool` for route access
|
||||
- Environment variables loaded from `/var/www/html/inventory/.env` (production path)
|
||||
- Environment variables loaded from `/var/www/inventory/.env` (production path)
|
||||
|
||||
**API Routes:** All prefixed with `/api/`
|
||||
- `/api/products` - Product CRUD operations
|
||||
@@ -164,7 +164,7 @@ Run tests for individual components or features:
|
||||
|
||||
## Important Notes
|
||||
|
||||
- Environment variables must be configured in `/var/www/html/inventory/.env` for production
|
||||
- Environment variables must be configured in `/var/www/inventory/.env` for production
|
||||
- The frontend expects the backend at `/api` (proxied in dev, served together in production)
|
||||
- PM2 is used for production process management
|
||||
- Database uses PostgreSQL with SSL support (configurable via `DB_SSL` env var)
|
||||
|
||||
Reference in New Issue
Block a user