Перейти к содержимому

Orca: cómo compartir el .env entre git worktrees — Carlos Jiménez

Orbitant

0:00 / 0:00

Orca: cómo compartir el .env entre git worktrees — Carlos Jiménez

68 просмотров · 2 недели назад
Orbitant
136 подписчиков
68 просмотров · 2 недели назад
Aprende cómo compartir el .env entre git worktrees en Orca para que la app no falle al crear uno nuevo. 🎙️ Carlos Jiménez, tech lead y software architect de Orbitant, comparte cómo resolvió el problema de los archivos .env que desaparecen al crear un nuevo worktree en Orca. Cuando Carlos empezó a usar Orca se encontró con un fallo recurrente: al crear un worktree nuevo y lanzar la app, todo fallaba porque el .env no estaba ahí. En esta sesión explica cómo compartir el .env entre worktrees en Orca usando el archivo worktree-include, la solución que recomienda la documentación oficial de Orca frente a otras tres alternativas: enlaces simbólicos, un comando al arrancar la app, y la opción por defecto que le pasó Dani. ℹ️ En esta sesión descubrirás: —Por qué falla la app al crear un nuevo worktree en Orca si el .env no se copia —Las 4 soluciones oficiales que documenta Orca para compartir archivos entre worktrees —Cómo crear un archivo worktree-include para copiar automáticamente el .env y otros ficheros a cada worktree nuevo —Cómo usar Orca para mantener el ordenador activo mientras se ejecuta un proceso largo 📩 Más insights en nuestra newsletter: https://orbitant.com/#newsletter ________________________________________________ 🇬🇧 ENGLISH Learn how to share your .env file across git worktrees in Orca so nothing breaks when you spin up a new one. 🎙️ Carlos Jiménez, Tech Lead and Software Architect at Orbitant, shares how he fixed the .env file disappearing every time he created a new worktree in Orca. Carlos ran into a recurring problem when he started using Orca: creating a new worktree and running the app would fail because the .env file wasn't there. In this session he walks through how to share the .env file across git worktrees in Orca using the worktree-include file, the solution Orca's own documentation recommends, alongside three other options (symlinks, a startup command, and the default one a teammate suggested). ℹ️ In this session you'll discover: —Why the app fails when you create a new worktree in Orca if the .env isn't copied over —The 4 official solutions Orca's documentation offers for sharing files across worktrees —How to set up a worktree-include file so .env and other files get copied automatically into every new worktree —How to use Orca to keep your machine awake during a long-running process 📩 Get more insights in our newsletter: https://orbitant.com/en/#newsletter #Orca #GitWorktree #Orbitant #Git #EnvironmentVariables #DevTools #SoftwareEngineering #aiagents _______________________________________________ TIMESTAMPS (EN/ES): 00:00 Intro and .env problem / Introducción y problema del .env 01:15 Alternative solutions / Soluciones alternativas 03:22 Recommended solution: Work Tree include / Solución recomendada: Work Tree include 05:12 Extra feature and wrap-up / Función extra y cierre