Commit Graph
9 Commits
Author SHA1 Message Date
michaelschal 39cc269d29 Improve application startup process and fix potential database issues
Refactors Dockerfile and entrypoint script for enhanced reliability, debugging, and single database migration.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
2025-07-13 12:02:30 +00:00
michaelschal 037e7e2e49 Improve application deployment and database connection reliability
Refactors Docker configuration and entrypoint script for robust PostgreSQL connectivity and health checks.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
2025-07-13 11:40:17 +00:00
michaelschal 766b451768 Improve the application's containerization and startup process
Refactors Dockerfile and entrypoint script for enhanced reliability and Node.js 18 compatibility, including database migration.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
2025-07-13 11:34:45 +00:00
michaelschal 9698bb835e Add ticket photo feature and ensure application is production ready
Adds 'photo_ticket' column to the sales table in init.sql and implements a production readiness validation script.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/7df9e24f-d78b-4589-9a08-c70e02d6d7d9.jpg
2025-07-11 18:16:38 +00:00
michaelschal 77d77ab658 Set up database initialization process using SQL scripts and Drizzle ORM
Adds init.sql and init-db.sh for database initialization, and enhances Docker setup.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/438ba2d5-c119-4a74-9474-438eed8b3141.jpg
2025-07-11 16:01:42 +00:00
michaelschal 4c89a7e2e5 Automate database table creation during initial application deployment
Updates docker-compose to build images and adds Drizzle ORM push command to docker-entrypoint-simple.sh for automatic table creation.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/142044c4-d937-4abb-ae50-83d9764cfb4d.jpg
2025-07-09 22:39:15 +00:00
michaelschal 07baa59225 Ensure the application runs correctly in the production environment
Implements a Node.js 18 compatibility fix by patching `dist/index.js` and creating `server/prod-start.js` to replace `import.meta.dirname` with static paths, resolving a runtime error.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/99451107-d8a0-4f61-81e0-cae481285260.jpg
2025-07-09 22:21:49 +00:00
michaelschal 4c9263b51a Ensure the application runs correctly in the production Docker environment
Fixes a TypeError related to incorrect path resolution and configures npm start.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/99451107-d8a0-4f61-81e0-cae481285260.jpg
2025-07-09 22:11:51 +00:00
michaelschal 356baa3338 Improve application setup and ensure database migrations run smoothly
Copies node_modules, simplifies entrypoint, and adds fallback for drizzle-kit in Docker.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/c6c5feed-35b8-4a24-8fc2-e4d6ed02724b.jpg
2025-07-09 22:05:37 +00:00