Open corentin-bot opened 9 months ago
Hey can you tell me more about this , and what would be my approach for making this work
+1 here.
The way I'd approach it is by adding a docker-compose file when the init script is run.
The compose file will have a container for mysql or Postgres. Then add a command to the package.json to run the docker-compose command if the database could not be found.
Hey,
Just playing with kirimase 👍
Add I thought it could be great to have a script to start un postgre database directly in docker. I used to dev with T3 stack and they have this feature. It's not a big deal to setup, but it's still nice to just create it with just a script command.
Here is the link of the script for postgre and mysql: https://github.com/t3-oss/create-t3-app/tree/main/cli/template/extras/start-database
What do you think ?