wilsonlewis
wilsonlewis
Explore posts from servers
RRailway
Created by wilsonlewis on 3/7/2024 in #✋|help
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
DDeno
Created by wilsonlewis on 1/18/2024 in #help
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
DDeno
Created by wilsonlewis on 1/16/2024 in #help
KV read count
Do kv.list and kv.getAll count as a read for each value or a single read for the operation?
4 replies
DDeno
Created by wilsonlewis on 1/16/2024 in #help
KV watch initial value
Does KV watch always trigger an initial read of the current value? Is there a way to only watch for changes without the initial read?
2 replies
DDeno
Created by wilsonlewis on 1/15/2024 in #help
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
SSolidJS
Created by wilsonlewis on 1/2/2024 in #support
Help with Transitions (solid-transition-group)
Can someone help me debug why this is not animating?
import { createSignal, Show } from 'solid-js'
import { Transition } from 'solid-transition-group'

export default function () {
const [index, setIndex] = createSignal(1)
return (
<div>
<button onClick={[setIndex, index() + 1]}>Increment</button>
<Transition
mode='outin'
enterActiveClass='transition-opacity duration-100'
enterClass='opacity-0'
enterToClass='opacity-100'
exitActiveClass='transition-opacity duration-100'
exitClass='opacity-100'
exitToClass='opacity-0'
>
<Show when={index() % 3 !== 0}>
<div>Hello: {index()}</div>
</Show>
</Transition>
</div>
)
}
import { createSignal, Show } from 'solid-js'
import { Transition } from 'solid-transition-group'

export default function () {
const [index, setIndex] = createSignal(1)
return (
<div>
<button onClick={[setIndex, index() + 1]}>Increment</button>
<Transition
mode='outin'
enterActiveClass='transition-opacity duration-100'
enterClass='opacity-0'
enterToClass='opacity-100'
exitActiveClass='transition-opacity duration-100'
exitClass='opacity-100'
exitToClass='opacity-0'
>
<Show when={index() % 3 !== 0}>
<div>Hello: {index()}</div>
</Show>
</Transition>
</div>
)
}
3 replies
DDeno
Created by wilsonlewis on 12/15/2023 in #help
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
DDeno
Created by wilsonlewis on 12/13/2023 in #help
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
RRailway
Created by wilsonlewis on 12/12/2023 in #✋|help
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
RRailway
Created by wilsonlewis on 12/12/2023 in #✋|help
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
RRailway
Created by wilsonlewis on 12/6/2023 in #✋|help
Deleting Environment
Is it possible to delete and environment?
10 replies
RRailway
Created by wilsonlewis on 9/10/2023 in #✋|help
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