wilsonlewis
Explore posts from serversDTDrizzle Team
•Created by wilsonlewis on 9/16/2024 in #help
DrizzleKit "tablesFilter" not working as expected
Hello! I am trying to use the "tablesFilter" feature in DrizzleKit, but I may be misunderstanding how it works? When I run "drizzle-kit push" with the following configuration it still tries to drop and/or reconcile tables that do not have the defined prefixes. I thought that it would create a sandbox in which it would not try to touch anything that does not match the filter? Am I doing it wrong?
2 replies
Workspace member parallel processes (monorepo)
In the Node based monorepo tools I have used, when you run a "task" at the root of the workspace, it will run that same "task" in each workspace in parallel
For example, I can run "deno task dev" at the root of the repository and it will run "dev" in each workspace member as a way to spin up each of the services I am working on in one command
Is this something that is built into Deno Workspace?
3 replies
Urgent: Prisma cannot find the required `libssl`
My site just went down. I am having the same problem as this https://discord.com/channels/713503345364697088/1175401667978604575
I am having a hard time figuring out the solution based on the this thread
Could someone please help?
86 replies
Deno + Vite + React + VSCode
Could someone help me setup VSCode so that it recognizes React JSX without red squiggles?
Also, is it possible to setup type reference for image imports from vite?
I have been at this for a couple days and still can't figure it out...
3 replies
EventSource vs Multiplex webook
I am setting up an system that needs realtime updates for potentially 100+ different resources on a page.
Unfortunately, I'm not familiar with how Deno Deploy handles EventSource connections
So, based on Deploy infrastructure, would it be advisable to use 1-1 EventSource for each resource?
Or, should I have a single Websocket connection that multiplexes all the resources?
Thanks!
2 replies
Manual deployment promotion + long lived preview deployments
Hello! I am working on a deployment pipeline and have a few questions:
1. Is there a way to promote preview deployments to production from a github actions?
- I would like to deploy a preview deployment, run my own smoke tests and then promote to production
2. How long do preview deployments last?
- Is there a scenario where one project needs to reference an older version of a different project?
- This is in an effort to combat api drift. I would like one projects to target a specific version of a different project
Thanks!
3 replies
VSCode + Deno + Vite + Typescript
Just setup a project with
create-vite-extra
but all the starter files are full of typescript errors -- including all jsx. I did some research but can't find any clear answers. How can I get all these tools to play nicely?2 replies
Different services on different environments?
Can you have different services/volumes on different environments?
For example, if you want to have a redis db service in development but will use an external service for production
Or, use a volume in development but use S3 in production
In other words, have extra services in development that you don't need in production
Thanks!
7 replies
Github actions + monorepo / skipping deployment
Hello! I'm trying to setup a deployment strategy and hope you can help (or if it is even possible)
I am using a monorepo (turborepo*) and have a handful of services. Here is what I would like to do:
Required
1. trigger github action on push to production branch
2. build all services
3. test all services
4. skip** deploying services that have not changed using a command (not just a glob pattern)
5. deploy a pruned*** version of changed services based on its dependencies
6. rollback new deployments if any of them fail to deploy (although this shouldn't happen)
Optional
7. wait for deployment
6. test the deployed services
7. rollback services that do not pass tests
* https://turbo.build/repo/docs
** https://turbo.build/repo/docs/core-concepts/monorepos/skipping-tasks
*** https://turbo.build/repo/docs/handbook/deploying-with-docker#the-solution
4 replies
Communicate between services with private network
Project ID: 3f51dcb4-6905-4a13-be75-4c6063e4324a
I am trying to set up Railway to communicate between microservices on a private network, but I cannot figure it out...
Is there someone who has some experience that could help me walk through my set up so I can understand it?
Thanks!
4 replies