Skip to content

Improve install config - #85

Open
3elele wants to merge 4 commits into
orekoapp:mainfrom
3elele:chore/improve-install-config
Open

3elele wants to merge 4 commits into
orekoapp:mainfrom
3elele:chore/improve-install-config

Conversation

@3elele

@3elele 3elele commented Nov 19, 2026

Copy link
Copy Markdown

Description

Fixes some issues encountered as a new contributor:

  • Fix eslint error during pre-commit phase - Moved apps/web/eslint.config.mjs to eslint.config.js so pre-commit phase do not fail and all check pass for later contribution.
  • Add pino and pino-pretty dependencies in Next.js config - This comes from a known pino + Next.js issue: Oreko's logger (pino) uses worker_threads with a transport worker file (lib/worker.js). Next.js's dev bundler doesn't bundle that worker file into .next/server/vendor-chunks, so the worker failed to load, surfacing as Error: the worker has exited in lib/auth/credentials.ts.
  • Fix empty Account settings page - The raw SQL query in app/(dashboard)/settings/account/page.tsx references the table as "User", but the actual Postgres table is "public"."users". Prisma model names are CamelCase ("User"), but the table was created/mapped as users, and the raw $queryRaw used the model name instead of the table name.
  • Improve README with additional steps from docker install testing - Unless the database is generated and seeded server deployment fails. In addition, DATABASE_URL is harvested by Oreko from packages/database/.env so it needs to be created before running installation.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • Documentation update

How Has This Been Tested?

  • Manual testing

Screenshots (if applicable)

image

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • [NA] I have added tests that prove my fix/feature works
  • All tests pass locally
  • I have read the Contributing Guide

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant