Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update prisma setup for workspaces #3179

Closed
Entkenntnis opened this issue Dec 6, 2023 · 4 comments · Fixed by #3181
Closed

update prisma setup for workspaces #3179

Entkenntnis opened this issue Dec 6, 2023 · 4 comments · Fixed by #3181
Assignees

Comments

@Entkenntnis
Copy link
Member

Where should we store our env strings, in root or in app?

also update readme

@Entkenntnis Entkenntnis self-assigned this Dec 6, 2023
@elbotho
Copy link
Member

elbotho commented Dec 6, 2023

Where should we store our env strings, in root or in app?

so far I did not put any .env files into the root and I guess until we don't share them across packages or apps it does not really matter.

@Entkenntnis
Copy link
Member Author

Make it compile:

yarn build:prisma in root (no database string necessary)

@Entkenntnis
Copy link
Member Author

next.js env:

apps/web/.env.local

@Entkenntnis
Copy link
Member Author

adding scripts would help anyways (and alias to root)

@Entkenntnis Entkenntnis linked a pull request Dec 7, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants