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

Documentation: useful commands for contributors #1220

Open
kpodp0ra opened this issue Jan 5, 2025 · 1 comment
Open

Documentation: useful commands for contributors #1220

kpodp0ra opened this issue Jan 5, 2025 · 1 comment
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@kpodp0ra
Copy link
Collaborator

kpodp0ra commented Jan 5, 2025

During my development, I used the following commands:

To update my database after git pull

/teable/packages/db-main-prisma$ pnpm  dotenv-flow -p ../../apps/nextjs-app -- pnpm prisma generate "--schema" "./prisma/postgres/schema.prisma"
/teable/packages/db-main-prisma$ pnpm  dotenv-flow -p ../../apps/nextjs-app -- pnpm prisma migrate "deploy" "--schema" "./prisma/postgres/schema.prisma"

To make a build

docker build . --file=dockers/teable/Dockerfile -t teable-fork

I am curious to know what commands @tea-artist uses and whether we should add them to https://github.com/teableio/teable/blob/develop/CONTRIBUTING.md and Makefile/package.json

Inspired by #1217

@kpodp0ra kpodp0ra added documentation Improvements or additions to documentation question Further information is requested labels Jan 5, 2025
@tea-artist
Copy link
Contributor

@kpodp0ra I updated the CONTRIBUTING.md and listed our commonly used commands. If there are more questions, you can raise them in this issue. I will update it if appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants