- Rename Entry→Event throughout frontend and backend - Change 'journal' terminology to 'diary page' - Add professional footer with links - Redirect to diary page after generation - Error handling for generation failures - Fix settings to store per-provider configs in providerSettings - Backend reads API key from providerSettings - Use prisma db push instead of migrate for schema sync - Clean up duplicate entries.ts file
11 lines
198 B
Bash
11 lines
198 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# Push schema to database on startup
|
|
echo "Setting up database..."
|
|
bunx prisma db push --skip-generate
|
|
|
|
echo "Starting server..."
|
|
nginx -g 'daemon off;' &
|
|
exec bun ./dist/index.js
|