You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/3/en/part3b.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -353,6 +353,8 @@ Unlike when running the app in a development environment, everything is now in t
353
353
354
354
After ensuring that the production version of the application works locally, commit the production build of the frontend to the backend repository, and push the code to GitHub again.
355
355
356
+
**NB** If you use Render, make sure the directory <i>dist</i> is not ignored by git on the backend.
357
+
356
358
If you are using Render a push to GitHub <i>might</i> be enough. If the automatic deployment does not work, select the "manual deploy" from the Render dashboard.
357
359
358
360
In the case of Fly.io the new deployment is done with the command
@@ -526,7 +528,7 @@ You shall NOT be deploying the frontend directly at any stage of this part. It i
526
528
527
529
Generate a production build of your frontend, and add it to the Internet application using the method introduced in this part.
528
530
529
-
**NB** If you use Render, make sure the directory <i>dist</i> is not ignored by git.
531
+
**NB** If you use Render, make sure the directory <i>dist</i> is not ignored by git on the backend.
530
532
531
533
Also, make sure that the frontend still works locally (in development mode when started with command _npm run dev_).
Copy file name to clipboardExpand all lines: src/content/3/es/part3b.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -353,6 +353,8 @@ A diferencia de cuando se ejecuta la aplicación en un entorno de desarrollo, to
353
353
354
354
Después de asegurarte de que la versión de producción de la aplicación funcione localmente, haz un commit de la compilación de producción del frontend en el repositorio de backend y envía el código a GitHub nuevamente.
355
355
356
+
**NB:** Si usas Render, asegúrate de que el directorio <i>dist</i> no esté ignorado por Git en el backend.
357
+
356
358
Si estás utilizando Render, un envío a GitHub <i>podría</i> ser suficiente. Si el despliegue automático no funciona, selecciona "manual deploy (despliegue manual)" desde el panel de Render.
357
359
358
360
En el caso de Fly.io, el nuevo despliegue se realiza con el comando
@@ -526,7 +528,7 @@ NO deberás desplegar el frontend directamente en ninguna etapa de esta parte. S
526
528
527
529
Genera un build de producción de tu frontend y agrégalo a la aplicación en Internet utilizando el método introducido en esta parte.
528
530
529
-
**NB:** Si usas Render, asegúrate de que el directorio <i>dist</i> no esté ignorado por Git.
531
+
**NB:** Si usas Render, asegúrate de que el directorio <i>dist</i> no esté ignorado por Git en el backend.
530
532
531
533
También, asegúrate de que el frontend aún funcione localmente (en modo de desarrollo cuando se inicia con el comando _npm run dev_).
0 commit comments